首页 > 其他 > 详细

xml cannot be resolved or is not a field

时间:2014-05-25 16:18:52      阅读:487      评论:0      收藏:0      [点我收藏+]
        loadHeadersFromResource(R.xml.settings_headers, headers);

error: xml cannot be resolved or is not a field, but res/xml/settings_headers.xml exists.

Every xml file will have its own ID in R.java, which is AUTO-GENERATED by eclipse when building project. But if the xml file is wrong, then there‘s no ID for it. So just fix the xml file first, then build project, it will be ok.

xml cannot be resolved or is not a field,布布扣,bubuko.com

xml cannot be resolved or is not a field

原文:http://blog.csdn.net/llrraa2010/article/details/26878391

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!