Friday, August 5, 2011

Android requires compiler compliance level

Eclipse IDE for Java Developers
Version: Indigo Release
Build id: 20110615-0604


ERROR :
Android requires compiler compliance level 5.0. Please fix project properties

[2011-08-04 23:56:54 - LocalPassport] Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.

Problem solved :
Right click on your 
project->properties->java compiler, 
modify the version to 1.6



5 comments:

  1. Obrigado!
    Resolvido parabéns pelo post!!

    ReplyDelete
  2. Thanks for this quick fix for the Android compiler compliance level error! This issue used to trip up many developers when working with older Eclipse versions. Setting the Java compiler to 1.6 solves the problem efficiently. It's interesting how technology has progressed from these early Android development days to today's AI-powered mobile applications. For developers interested in this evolution, Gen AI and Agentic AI course review in Electronic City covers how modern mobile apps are integrating generative AI and agentic systems. Your straightforward solution—right-click project, properties, Java compiler, change to 1.6—is the kind of practical tip that saves developers hours of frustration. These foundational Android skills are still relevant today.

    ReplyDelete