去除代码activity代码页面顶部中的 import android.R;这句
就可以消除红色波浪线的main cannot be resolved or is not a field类似这个错误了
相关文章
- cannot be resolved. It is indirectly referenced from required .class files
- 导入javax.servlet。伺服登记无法解决:The import javax.servlet.MultipartConfigElement cannot be resolved
- springboot如何访问resource目录下的文件,访问不到资源处理方法:class path resource [] cannot be resolved to UR
- 引入旧的Java项目的时候出现"Description Resource Path Location Type Date cannot be resolved to "解决方案
- 报错:The import cannot be resolved
- FastJSON2反序列化报错:Resolved [: class cannot
- 错误记录--The import XXX cannot be resolved
- Method XXX was discovered in the .class file but cannot be resolved in the class
- 解决 the import cannot be resolved
- spring boot 之 错误:SpelEvaluationException: EL1008E: Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap'