求解惑Cannot find the class file for java.lang.Object.

小唐人 2017-10-25 10:43:03
我导入一个项目,出现这个问题:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project。
网上解决方法:
step1:点击project----->propertys------>Java Build Path -----> Libraries---->Add Libraries----->JRE System Library------>选第一个workspace default jre-------->finish,
step2:点击project----->clean------>clean all projects -----> OK
但是用完出现如下错误:
Activity cannot be resolved to a variable
AdapterView cannot be resolved to a type
AlertDialog cannot be resolved to a type
Align cannot be resolved to a variable
android cannot be resolved
ArrayAdapter cannot be resolved to a type。。。。重复中
求大神解惑。
...全文
177 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,628

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧