Error with parsing Android sdk content and initializing java tooling in eclipse

前端 未结 16 2328
时光取名叫无心
时光取名叫无心 2021-02-13 15:19

Every time I open Eclipse, I get the following error messages:

Android SDK Content Loader: parseSdkContent failed java.lang.NullPointerException

Initializing Jav

16条回答
  •  半阙折子戏
    2021-02-13 16:10

    For me, the source of the NullPointerException problem was a host-side Junit test project that references (and tests) code from an Android project. It didn't have a project.properties file. It's not an Android project, but for some reason the newer versions of the SDK somehow expects the file there. To fix the problem, I just copied a project.properties file from an Android project to the host unit test project.

提交回复
热议问题