Android java compiler level


Android requires compiler compliance level 5.. Please fix project qualities.
Published by in Projects on Marly 16th, 2011, 7:53 am 28 comments

Within our Android mobile development class we constantly focus on projects like a class after which Dr. Liddle transmits us the up-to-date zip that contains the project to examine after our in-class additions. For whatever reason today I am getting some issues posting the Android project into Eclipse. Problems and fixes below.

Problem #1:
Android requires .class compatibility set to five.. Please fix project qualities.

1. Fix project:
Package Explorer ->
Right click on the project ->
&ldquoAndroid Tools&rdquo -> &ldquoFix Project Qualities&rdquo
2. Restart Eclipse:
&ldquoFile&rdquo -> &ldquoRestart&rdquo

Fix Project Qualities

Problem #2: The next error seems many occasions
The technique abc() of type ABC must override a superclass method

Package Explorer ->
Right click on the project ->
&ldquoProperties&rdquo -> &ldquoJava Compiler&rdquo -> &ldquoCompiler Compliance Level&rdquo = 1.6

Fix Java Compiler Qualities

Problem #3: The import android.internet.http.AndroidHttpClient can’t be resolved

Package Explorer ->
Right click on the project ->
&ldquoProperties&rdquo -> &ldquoAndroid&rdquo -> &ldquoProject Build Target&rdquo = 2.3.3

Fix Build Target

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>