包R不存在

编程入门 行业动态 更新时间:2024-10-28 05:25:49
本文介绍了包R不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我收到了可怕的包研究不存在,它的杀了我。 在code是罚款我运行code的应用程序市场。

I'm getting the dreaded package R does not exist, it's killing me. The code is fine I have apps in the market running the code.

现在它的影响简单的的WebView 应用程序。 o.0

Now it's effecting simple webview applications. o.0

R.string.app_name 是error'd我的main.xml 和字符串的.xml 是好的。我SOOO困惑。

R.string.app_name is error'd my main.xml and string.xml is fine. I'm sooo confused.

我重新开了一个旧版本的借用约code和它充斥着研究。错误。我做了一个干净的,没有什么改变,除了进口 R.android 被添加在上面。

I re opened an older version to "borrow" some code and it was flooded with R. errors. I did a clean and nothing changed except for import R.android being added at the top.

我甚至加载到Netbeans的,我也得到了同样的事情。清洁不工作。我可以写 R.java 文件自己?

I even loaded into Netbeans and I get the same thing. Clean is not working. Can I write the R.java file myself?

这是什么研究的事情吗?是不是研究。应该对应于 R.java

What is this R thing? isn't R. supposed to correspond to R.java

推荐答案

对于任何人谁碰上了这一点, 我重构通过重命名文件夹命名空间。我只是忘了还可以编辑AndroidManifest,这就是为什么我得到这个错误。

For anyone who ran into this, I refactored by renaming the namespace folders. I just forgot to also edit AndroidManifest and that's why I got this error.

请务必检查此以及。

更多推荐

包R不存在

本文发布于:2023-06-08 06:29:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/576114.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不存在

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!