Cannot find the class file for java.lang.Object

前端 未结 9 1370
醉梦人生
醉梦人生 2021-02-12 16:31

I reinstalled my eclipse. and then imported all the projects in the Eclipse, but every project has a common error:

Cannot find the class file for java.lang.Object.

9条回答
  •  心在旅途
    2021-02-12 17:13

    A quicker way will be

    Right Click Project---> Properties--->Build Path--->Add External Jars--> Find your android-xx.Jar e.g android-17.jar

    In my case I'm using the adt and it is here

    E:\adt-bundle-windows-x86_64-20130219\adt-bundle-windows-x86_64-20130219\sdk\platforms\android-17

    Hope it helps

提交回复
热议问题