How do I prevent the two warnings below from generating an error that stops the build process ?
-compile:
[javac] Compiling 77 source files to /Users/andev/W
Another possibility (which will fix it for all Android builds made with Ant), is to tweak the default parameters for the -compile
task in
.
At the section, you can either set the compiler flags:
or, alternatively, change the source and target parameters:
As of now, 1.6
is enough to avoid the warning.