Android 錯誤解決匯集

1. Error:Execution failed for task ':app:transformDexWithInstantRunDependenciesApkForDebug'.> error

解法: Clean Project


2. Error:Conflict with dependency 'com.google.code.findbugs:jsr305' in project ':app'. Resolved versions for app (3.0.1) and test app (2.0.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

解法:configurations.all {

resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'

}


3. 打包signed APK 無法安裝

解法: 打包時要勾選 V1(Jar Signature)

你可能感兴趣的:(Android 錯誤解決匯集)