Search code examples
androideclipseandroid-sdk-tools

Eclipse fails to build android project


Background: this problem occured after an update through the android sdk Manager eclipse plugin.

Currently, when i try to build any android project, this error occurs. enter image description here

THe information i gathered so far, is that this is a java related issue, as i'm trying to compile newer version code (version 52.0 stands for java 8) and run it in an older one. However, most of the solutions didn't work out.

Here are the compile setting for an android project :

enter image description here

Here are settings from the java compiler in Eclispe:

enter image description here

Here are the installed JREs enter image description here

Finally, installed packets from the Android SDK:

enter image description here

I've removed the packets for API 23, but with no luck. Could it be that Android tools are causing trouble, since the SKD doesn't support the java version (52)?


Solution

  • Problem was with JDK/JRE. They were installed separately. Deleted them and installed from a bundle. Although they were the same version, project building kept on crashing.