ant - Add compiler flags to the standard android build.xml -


I want to add - XLint: Deprecated for the Java compiler during the creation of the Android app.
I have seen the compiler to tag inside the Javac tag, but there is no such tag that has build.xml generated for the standard project. Any sign?

Full build script YOUR_SDK_FOLDER / platform / SDKVERSION / templates / android_rules.xml

You can modify your build.xml with this file copy and customize it. Not sure where you want it - but this is a beginning

   This will ensure that the properties are set up correctly, but your customized goal is used - & gt;  

Comments