在导入了图片资源了之后,一运行发现报错Error:Execution failed for task ':app:mergeDebugResources'.
Some file crunching failed, see logs for details
于是乎按照网上给出的解决方法重新编译一遍项目,发现又报R文件丢失错误。请问这个应该怎么办呢??求指导
认证0级讲师
1. The R file is lost because of the resource naming problem. Check your naming. 2. Change the buildTools setting-projectStructure-Modules-Build Tools Version
Looking at the error log will explain in detail which file error occurred.
file
It may be a class conflict in the file, or multiple jars with the same name
1、gradle clean2、gradle build --stacktrace
1. The R file is lost because of the resource naming problem. Check your naming.
2. Change the buildTools setting-projectStructure-Modules-Build Tools Version
Looking at the error log will explain in detail which
file
error occurred.It may be a class conflict in the file, or multiple jars with the same name
1、gradle clean
2、gradle build --stacktrace