I am sure this is pretty easy qoestion, but I am stuck with building Android app using Ant from commandline. I have got this message: (use -source 7 or higher to enable d
(use -source 7 or higher to enable d
You need to set java.source and java.target. Either via -D:
java.source
java.target
-D
ant release -Djava.source=7 -Djava.target=7
Or put it in ant.properties in your project:
ant.properties
# ant.properies contents: java.source=7 java.target=7