Eclipse Upgrade Not Working

后端 未结 11 750
暗喜
暗喜 2020-12-01 18:31

My Eclipse out of the blue stopped building my Android so I removed the old version and have installed Indigo. When I try to import an Android project in I get this error:<

相关标签:
11条回答
  • 2020-12-01 18:55

    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 version 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.

    0 讨论(0)
  • 2020-12-01 18:56

    This happened to me today with ADT v21.0.1-543035 and it turned out to be the .svn directories throughout the directory structure. See http://code.google.com/p/android/issues/detail?id=42051

    Worked around the issue by upgrading svn client and working copy to 1.7.

    0 讨论(0)
  • 2020-12-01 19:00

    I had something similar. The problem was created by having some files without extension inside the /src folder.

    0 讨论(0)
  • 2020-12-01 19:01

    Try removing the .metadata folder from your workspace. This holds all your configurations, even after a new install. I think if you just delete this folder, assuming everything is in place, you should be up and running again.

    0 讨论(0)
  • 2020-12-01 19:01

    The 21.0.1 version of the Eclipse ADT tools has a bug that prevents a project building if you have any files without extensions in them. This is a particular problem for users (like me) using subversion which has extenion-less files.

    The solution is to install the 21.1 preview version of the ADT tools and SDK manager from Google. Clear instructions can be found here and you can read all the background add your voice to the angry mob of developers here.

    0 讨论(0)
提交回复
热议问题