androidstudio更新到2.2專案混淆編譯不通過
阿新 • • 發佈:2019-02-07
更新Android Studio 2.2後:
1.出現問題:
Error:A problem was found with the configuration of task ‘:app:packageRelease’.
File ‘F:**********\app\build\intermediates\res\resources-release-stripped.ap_’ specified for property ‘resourceFile’ does not exist.
2.解決辦法
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-
android.txt’), ‘proguard-rules.pro’
zipAlignEnabled true
shrinkResources false
signingConfig signingConfigs.release
}
}