Saturday, 28 September 2013

Compile Android with JDK 1.7 - Android Development Tool

Compile Android with JDK 1.7 - Android Development Tool

I have a source code which currently I use Java Compiler 1.6 to compile
it, I want to use 1.7 version instead, I go to project properties and in
Java Compiler section I change "Compiler Compliance" to 1.7, but when I
build the project I get an error:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7'
instead. Please use >Android Tools > Fix Project Properties.
When I do its recommendation, It change the compiler to 1.6 again. I'm
using Android Development Tool.
Thx

No comments:

Post a Comment