删除R.Java文件,这时,系统会重新生成一个R.java;
- 删除java代码中的”import Android.R“文件。
重新导入正确的包。
相关文章
- Eclipse “cannot be resolved to a type” 错误
- 为什么老出现这个错误Cannot open include file: 'graphics.h': No such file or directory
- "cannot be resolved or is not a field"问题解决
- styleable cannot be resolved or is not a field
- *** cannot be resolved or is not a field
- layout cannot be resolved or is not a field
- 出现 cannot be resolved or is not a field 错误
- id cannot be resolved or is not a field
- 使用jstl报http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar错误
- 关于id cannot be resolved or is not a field 的一个解决方法