且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

没有资源发现,匹配给定的名字

更新时间:2021-11-23 21:38:12

你检查,以确保您在RES /价值/ strings.xml中定义的字符串资源?

Did you check to ensure that you have the string resource defined in res/values/strings.xml?

<string name="app_name">"My App"</string>

有时候,我注意到日食也将引发一些难以跟踪,如果您有任何错误,.xml文件错误。我不认为解析器恢复很好,有时你可能会产生误导的错误。

Sometimes, I've noticed eclipse will also throw errors that are hard to track if you have any .xml files with errors. I don't think the parser recovers well and sometimes the errors you get can be misleading.