Hello Guys, How are you all? Hope You all Are Fine. Today I am facing following error while importing android project Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties in Java. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How This Error Occurs ?
- How To Solve Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties Error ?
- Solution 1: Fix Project Properties
- Solution 2: Enable project specific settings
- Solution 3: set Compiler compliance level
- Solution 4: follow this
- Summary
How This Error Occurs ?
I am facing following error while importing android project.
Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties.
How To Solve Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties Error ?
How To Solve Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties Error ?
To Solve Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties Error First of all You need to Fix Project Properties so that Right-click on your project and select Android Tools then select Fix Project Properties. Now Your issue may be resolved. Second solution is you need to Enable project specific settings. First of all Right-click on your project.select
Properties -> Java Compiler
check Enable project specific settingsselect 1.5 or 1.6 from the Compiler compliance settings select box.Now, You can run your project without error.Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties
To Solve Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7’ instead. Please use Android Tools > Fix Project Properties Error First of all You need to Fix Project Properties so that Right-click on your project and select Android Tools then select Fix Project Properties. Now Your issue may be resolved. Second solution is you need to Enable project specific settings. First of all Right-click on your project.select
Properties -> Java Compiler
check Enable project specific settingsselect 1.5 or 1.6 from the Compiler compliance settings select box.Now, You can run your project without error.
Solution 1: Fix Project Properties
First of all You need to Fix Project Properties so that Right-click on your project and select Android Tools then select Fix Project Properties. Now Your issue may be resolved.
Solution 2: Enable project specific settings
If First solution not worked then you need to Enable project specific settings.
- First of all Right-click on your project.
- select
Properties -> Java Compiler
- check Enable project specific settings
- select 1.5 or 1.6 from the Compiler compliance settings select box.
- Now, You can run your project without error.
Solution 3: set Compiler compliance level
You need to set Compiler compliance level. Under Window -> Preferences -> Java -> Compiler
, set Compiler compliance level to 1.5 or 1.6.
Solution 4: follow this
- Go to the project folder
- Then right click on it –
> properties ->
check off the read only box - then, click ok
- Right-click on your project
- select
"Android Tools -> Fix Project Properties"
- Right-click on your project and select
"Properties -> Java Compiler"
, check"Enable project specific settings"
and select 1.5 or 1.6 from “Compiler compliance settings” select box. (try all the levels one by one just in case) - Under
Window -> Preferences -> Java -> Compiler
, set Compiler compliance level to 1.6 or 1.5.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read