问题描述
今天,我获得了稳定版本的android studio 2.0更新.
Today I got update for android studio 2.0 in stable version.
我对其进行了更新,然后重新启动.
I update it and it restarted.
然后,当它打开我现有的项目时,它要求我将gradle插件更新为2.0,以获取即时运行" 的优势以及我当前的android studio 2.0项目的其他功能
Then when It opens my existing project, it ask me to update my gradle plugin to 2.0 to get advantages of "instant run" and other features to my current project of android studio 2.0
所以我对其进行了更新并将其设置为
So I update it and it sets to
但是当我清理项目时,它给了我下面的错误
but when I clean the project it gives me below error
错误:任务':app:mergeDebugResources'的执行失败.
Error:Execution failed for task ':app:mergeDebugResources'.
某些文件处理失败,请参阅日志以获取详细信息
Some file crunching failed, see logs for details
我试图修复它很多次,但是没有解决.
I tried to fixed it many times but it didn't solve.
谁能知道此错误的原因是什么?
Can anyone know what is the reason for this error ?
推荐答案
您可以尝试将其添加到应用程序build.gradle文件中
You can try to add this to your app build.gradle file
android {
aaptOptions {
cruncherEnabled = false
}
}
这篇关于一些文件处理失败,请参阅日志以获取详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!