So I almost always get some message like this when I'm compiling my android app:
[javac] Note: /home/kurtis/sandbox/udj/androidApp/src/org/klnusbaum/udj/PlaylistFragment.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
How do I recompile with this option? Do I have to edit something in my build.xml?
These properties can also be defined on the Ant command line, avoiding edits:
ant "-Djava.compilerargs=-Xlint:unchecked -Xlint:deprecation" debug
To enable all Lint warnings:
ant -Djava.compilerargs=-Xlint debug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With