Saturday, June 16, 2012

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

I have faced this problem when I have exported my work-space from Windows 7 x64 jvm7 x64 and Imported that project in eclipse on my Ubuntu 12.04.

ERROR:  " Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties"

Solution of this problem is to set project compatibility to java 5.0 to java6.0.
You can do that in two way:

1. right-click on your project and select "Android-Tools -> Fix Project Properties " [If this solution doesn't work then apply second options ]

2. 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.

My problem solved by following the first options. Hope you will get your solution from here.



6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. What will happen if I switch windows to windows?

    ReplyDelete
  3. it's work..
    but sometimes still error on emulator..
    force close reason..
    but when i try install in my android, it's okay..

    ReplyDelete
  4. i was using fedora Os
    This problem is not solving in my eclipse

    ReplyDelete
  5. Thirsty To Know And Learn: Android Requires Compiler Compliance Level 5.0 Or 6.0. Found '1.7' Instead. Please Use Android Tools > Fix Project Properties >>>>> Download Now

    >>>>> Download Full

    Thirsty To Know And Learn: Android Requires Compiler Compliance Level 5.0 Or 6.0. Found '1.7' Instead. Please Use Android Tools > Fix Project Properties >>>>> Download LINK

    >>>>> Download Now

    Thirsty To Know And Learn: Android Requires Compiler Compliance Level 5.0 Or 6.0. Found '1.7' Instead. Please Use Android Tools > Fix Project Properties >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete