xxx cannot be resolved or is not a field问题的解决方案
2014-12-25 09:46
453 查看
在android编译程序时,偶尔会碰到“xxx cannot be resolved or is not a field”的问题,经过一番研究,我觉得应该从以下几步解决这个问题:
1、首先确保引用的资源文件已经存在项目工程中;
2、是否正确导入了包的名称和路径;
3、修改了代码之后是否已经保存文件。
1、首先确保引用的资源文件已经存在项目工程中;
2、是否正确导入了包的名称和路径;
3、修改了代码之后是否已经保存文件。
相关文章推荐
- "cannot be resolved or is not a field"问题解决
- "cannot be resolved or is not a field"问题解决
- R.layout.xxx cannot be resolved or is not a field问题解决办法
- "cannot be resolved or is not a field"问题解决
- xxx cannot be resolved or is not a field
- "cannot be resolved or is not a field"问题解决 (转载)
- XXX cannot be resolved or is not a field
- Eclipse Android项目 为控件添加了Id,但是在Java代码中提示xxx cannot be resolved or is not a field
- irectory_list cannot be resolved or is not a field问题的解决办法
- 出现"cannot be resolved or is not a field"莫名错误的解决方法
- cannot be resolved or is not a field的问题解决
- Android Error:main cannot be resolved or is not a field 问题解决方法
- 添加jar包编译出现错误"XXX cannot be resolved or is not a field"解决方法
- xxx cannot be resolved or is not a field
- Android Project - R cannot be resolved or is not a field———解决方案之一!
- R.xxx cannot be resolved or is not a field
- eclipse中system.out.println()出现问题,总是提示out cannot be resolved or is not a field
- "cannot be resolved or is not a field"问题解决
- "cannot be resolved or is not a field"问题解决
- Eclipse Android项目 为控件添加了Id,但是在Java代码中提示xxx cannot be resolved or is not a field