在gradle文件中出现一个错误,但它在控制台中生成并且从未显示,应用程序工作正常,但我认为它会在其他设备上崩溃。Gradle出现错误,但构建正常
如何解决呢?我怎样才能从工具提示中复制错误? 这里是我的gradle产出:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.example.mol.saherproject"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
compileOptions.encoding = 'ISO-8859-1'
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.mcxiaoke.volley:library:1.0.10'
compile 'com.google.android.gms:play-services:10.0.1'
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.android.support:support-v4:25.1.1'
compile 'com.android.support:design:25.1.1'
compile 'info.hoang8f:android-segmented:1.0.6'
compile 'com.github.halysongoncalves:pugnotification:1.8.1'
compile 'com.github.clans:fab:1.6.4'
compile 'com.google.maps.android:android-maps-utils:0.3.4'
compile 'com.android.support:multidex:1.0.1'
compile 'org.greenrobot:eventbus:3.0.0'
testCompile 'junit:junit:4.12'
}
任何帮助,请......