在我最近安装了最新的Eclipse ADT软件包之后,我在一个正在处理的旧项目中遇到了一些错误:
No known package when getting value for resource number 0x7f080028
android.content.res.Resources$NotFoundException: String resource ID #0x7f080028
at android.content.res.Resources.getText(Resources.java:222)
at android.content.res.Resources.getString(Resources.java:275)
at android.content.Context.getString(Context.java:183)
...
Run Code Online (Sandbox Code Playgroud)
在我的R文件中,我正在寻找的字符串与资源ID之间存在正确的连接.
我尝试了几件事来解决我的问题:
由于更新期间发生错误,我之前使用了"adt-bundle-windows-x86_64-20130522"(它编译时没有运行时错误)并下载了"adt-bundle-windows-x86_64-20140702".
有什么建议?