作者:qapo | 来源:互联网 | 2023-06-13 12:19
This question already has an answer here:
这个问题在这里已有答案:
- R cannot be resolved - Android error 106 answers
R无法解析 - Android错误106答案
When I am working in a new project, occasionally I will run into an issue where R.(insert rest of resource path) Will just stop working. The only work around I have found is to copy the files and place them in a new project. What could possibly cause R not to be found for onCreate?
当我在一个新项目中工作时,偶尔我会遇到一个问题,其中R.(插入资源路径的其余部分)将停止工作。我发现的唯一工作是复制文件并将它们放在一个新项目中。什么可能导致无法找到onCreate?
1 个解决方案