How do I use a Java project that requires a 1.7 compliance level on an Android project build path? -


i'm using eclipse. if change compliance level of main (android) project 1.6 1.7, error:

android requires compiler compliance level 5.0 or 6.0. found '1.7' instead. please use android tools > fix project properties.

if change compliance level of "library" (java) project 1.7 1.6, lot of code in becomes invalid.

is going through code of java project , fixing every error single option here?

google released eclipse adt 22.6 adds support java 7 language features, http://developer.android.com/tools/sdk/eclipse-adt.html. once upgrade to latest version of plugin compiler compliance level include 1.7 option.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -