eclipse 解决 Cannot find the class file for java.lang.Object. Fix the build path then try building t

   每次打开eclipse 总是会出现

  有时候重启一下就好了,让人很不爽的

 解决方法: 1  、window  —— show view —— problems 查看问题的原因

 

                   2、 project——properties——java build path ——Libraries

                 选择 Unable to get system library for the project  , 把它remove 掉,在点击 add library  ,选择 Android classpath containter ,点击next ,选择你的project ,

                  finish,最后点击ok 。

                  在clean一下,问题解决。

            

猜你喜欢

转载自blog.csdn.net/x995630736/article/details/75599517