在下载运行微信sdkDemo的时候遇到了如下错误:
Error:Execution failed for task ':app:mergeDebugResources'.
Some file crunching failed, see logs for details
后再度娘的帮助下,在app的buildgradle中添加如下代码,完美解决:
android{
compileSdkVersion 19
buildToolsVersion "23.0.1"
//下面两行代码能起死回生
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
}
...
}
具体原因楼主也不明,cruncher是个什么,以后会学习,到时候再来补充吧