Android app编译报错如下
raw cannot be resolved or is not a field
出现该错误只有如下两个可能
- raw目录没有在res下,资源文件没有在raw下
- App编译缓存导致
AndroidStudio解决办法 Clean Project–>重新Build即可
Android源码编译解决办法 删除编译产生的中间文件out/target/common/obj/APPS/xxx_intermediates/,重新模块编译即可
本文详细解析了Android app在编译过程中遇到的rawcannotberesolvedorisnotafield错误原因及解决方法,包括检查raw目录位置和清理项目缓存。
Android app编译报错如下
raw cannot be resolved or is not a field
出现该错误只有如下两个可能
out/target/common/obj/APPS/xxx_intermediates/,重新模块编译即可
被折叠的 条评论
为什么被折叠?