Android Gradle Build Error:Some file crunching failed, see logs for details解决办法

在主工程文件夹下的build点gradle文件里,加两句:


aaptOptions点cruncherEnabled = false

aaptOptions点useNewCruncher = false


例如:

android {

compileSdkVersion 22

buildToolsVersion "23.0.1"


aaptOptions.cruncherEnabled = false

aaptOptions.useNewCruncher = false


defaultConfig {

minSdkVersion 5

targetSdkVersion 17

}


然后重新构建、运行

你可能感兴趣的:(Android Gradle Build Error:Some file crunching failed, see logs for details解决办法)