我收到了可怕的包研究不存在,它的杀了我。 在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不存在
发布评论