我在 R.java 中遇到错误。不知道如何继续?
我在生成的 java 文件中遇到错误。但代码很好。任何人都可以提供建议吗?
提前致谢。
I am getting error with the generated java file. But the code is fine and good . Can any one give suggestion.
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据您的图像,您似乎收到 id 为“enter”的元素的错误,尝试将该元素的 id 更改为更具描述性的内容,错误可能会消失。
Based on your image it appears that you are getting an error with the element with id of "enter", try changing the id of that element to something more descriptive and the error might go away.
您没有说出您遇到的错误。通常,您可以通过删除 R.java 并让 Eclipse 重新生成它来解决 R.java 中的错误。如果仍然遇到相同的错误,您可以尝试使用有问题的 ID 重命名控件。
如果您需要进一步的帮助,您需要说明您遇到的错误。
You don't say which error you are getting. Usually you can resolve errors in R.java by removing it, and letting Eclipse regenerate it. If you still are getting the same error, you can try to rename the controls with the offending id.
If you wish further assistance, you need to say which error you are getting.