Problems when Eclipse compiles Android projects: Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead.

Consle:

Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools > Fix Project Properties.

However, according to the prompt method, when right-clicking the project - "Android Tools-" Fix Project Properties, it was found to be useless. . .

My solution is:

Right-click the project - "Properties, change JavaCompiler to version 1.7, neither 1.6 nor 1.8 will work. . .

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325462130&siteId=291194637