Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
我的异常是这样子,百度搜了很多种办法,没用。
解决办法:
在主工程文件夹里build.gradle文件里,加两句:
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
效果如下:
android {
compileSdkVersion 19
buildToolsVersion "23.0.1"
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
转载 https://segmentfault.com/q/1010000002634455