我在 R.java 中遇到错误。不知道如何继续?

发布于 2024-12-02 05:08:56 字数 127 浏览 2 评论 0原文

我在生成的 java 文件中遇到错误。但代码很好。任何人都可以提供建议吗?

在此处输入图像描述

提前致谢。

I am getting error with the generated java file. But the code is fine and good . Can any one give suggestion.

enter image description here

thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一城柳絮吹成雪 2024-12-09 05:08:56

根据您的图像,您似乎收到 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.

沫离伤花 2024-12-09 05:08:56

您没有说出您遇到的错误。通常,您可以通过删除 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文