内容提供商资源$NotFoundException

发布于 2024-09-05 15:23:08 字数 156 浏览 2 评论 0原文

使用内容提供商创建了配置文件。正确运行后,表中添加了3个字段。但现在它无法正常工作。它显示类似 android.content.res.Resources$NotFoundException: String Resource ID #0x4d2 的错误。有什么解决方案吗?

Created a profile using content provider. After running it correctly, added 3 fields to the table. But now its not working correctly.It shows an error like android.content.res.Resources$NotFoundException: String resource ID #0x4d2.Any solution?

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

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

发布评论

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

评论(1

梦幻之岛 2024-09-12 15:23:08

如果您使用的是 Eclipse,请尝试执行 Project|Force Clean。如果您在 Eclipse 之外工作,请运行 ant clean。您的错误消息可能是因为您的资源、生成的 R.java 文件以及其他一些已编译的代码总体不同步。

If you are using Eclipse, try to do Project|Force Clean. If you are working outside of Eclipse, run ant clean. Your error message is probably because your resources, the generated R.java file, and some of your other compiled code are collectively out of sync.

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