Search code examples
javaandroideclipseadtaptana3

Aptana error: parsing data for android-22 failed


After bringing the versions of JRE/JDK/ADT to the same (at least compatible) level, I still encounter the above mentioned error in Aptana Studio 3.

Java and JDK are 1.7.

During startup Aptana tries to rebuild and stops with this error message.

Update:

After "Android SDK: Resolving Error Markers" Aptana status changes to "Building Workspace", "Initializing Index" and finally stops with "Problem Occurred" message:

'Loading data for Android 5.1.1' has encountered a problem,
Parsing data for andoid-22 failed.

Details:

Parsing Data for android-22 failed
Unsupported major.minor version 51.0

Research brought up so far that there's an incompatibility with Java 1.8, which I deactivated. Since I am rather a semi professional programmer, I have not much knowledge of how to handle such dependencies.


Solution

  • I had the same issue.

    I believe it was related to quite outdated Eclipse version - I was still trying to build with Eclipse Indigo.

    Now I have the following setup working for me:

    • I installed Eclipse Luna Java developer version
    • I installed the ADT plugin (I believe the URL changed since earlier versions): https://dl-ssl.google.com/android/eclipse/
    • I have JDK and JRE latest of 1.7 (32 bit as my entire system is 32 bit).

    With this the error is gone and I am able to build with Android target level 22.

    PS: By the way the error is not related to aptana at all as far as I understand.