Search code examples
javaandroideclipseadt

Updating ADT in Eclipse causes many errors


Recently I updated Android SDK Tools, Android SDK Platform-tools, Android SDK Build-tools, and downloaded new APIs Android 4.4W and Android L (both API 20).

After restarting eclipse, it required me to also update the ADT from 22.x that I had to 23.x.

I went to Install New Software in eclipse and updated the ADT to 23.0.4.

After restarting, I figured out nothing in Eclipse is working properly:

  1. All the projects contains errors of several types:

    1. Unable to resolve target 'android-19' until the SDK is loaded.
    2. The type java.lang.Object cannot be resolved.
    3. The project was not build since its build path is incomplete.
  2. The Android SDK Manager won't open.

  3. When I write click on a project -> properties -> Android, there're no libraries and I can't add any.

Never seen something like that. I read that more people had problems after updating the ADT but none of the solutions worked. Thanks


Solution

  • To everyone which gets this problems in the future:

    Do not try to struggle with it for hours, with frustrating solutions from the internet.

    Simply re-installed eclipse, ADT and android SDK in about 30 mins and everything works perfect, finally.