Error:Execution failed for task ':app:mergeDebugResources'解决办法
2017-04-26 14:51
399 查看
异常原因:资源合并发生错误,drawable使用的图片资源有问题
解决办法:在build.gradle中·添加
两行代码即可
添加完效果如下
解决办法:在build.gradle中·添加
aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false
两行代码即可
添加完效果如下
android { compileSdkVersion 25 buildToolsVersion "25.0.2" aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false defaultConfig { applicationId "com.example.kim.listview" minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" }
相关文章推荐
- AndroidStudo编译时出现“Error:Execution failed for task ‘:app:mergeDebugResources‘. > Some file cru'”,解决办法
- Error:Execution failed for task ':app:mergeDebugResources'解决办法
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'解决办法
- Error:Execution failed for task :app:mergeDebugResources>Some file crunching failed的根本解决方法
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.解决方法
- 关于解决android studio出现Error:Execution failed for task ':app:mergeDebugResources'. 的方法
- Aandroid:Error:Execution failed for task ':app:processDebugResources'. 的解决办法
- Error:Execution failed for task ':app:processDebugResources'. 的解决办法
- 关于AS用点9图时遇到的错误的解决方法Error:Execution failed for task ':app:mergeDebugResources'
- [已解决]Error:Execution failed for task ':app:mergeDebugResources'.> -1
- Error:Execution failed for task ':app:processDebugResources'. 的解决办法
- Error:Execution failed for task ':app:mergeDebugResources'问题解决
- Error:Execution failed for task ':xxx_library:mergeDebugAndroidTestResources'.解决办法
- 关于解决android studio出现Error:Execution failed for task ':app:mergeDebugResources'. 的方法
- android studio 中报Error:Execution failed for task ':app:mergeDebugResources'的解决方法
- Error:Execution failed for task ':app:mergeDebugResources'. > [style/AppTheme] E:\AndroidSpace\BaseP
- Android报错Error:Execution failed for task ':app:mergeDebugResources'.
- 初遇Error:Execution failed for task ':app:mergeDebugResources'.
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
- Error:Execution failed for task ':app:processDebugResources'.解决