I'm working on an Android app in IntelliJ IDEA and I want to be at a point where I have an Ant build process that builds the app. I used the IDE's tool to create the Ant build script and properties, I've added it to the tools, so I can run the Ant build through the IDE, and in the IDE it all appears to work ok, however I cannot see that it has actually produced an APK file.
Am I misunderstanding the output location, or is it to be expected that the Ant script only compiles the Java source to class files, and isn't meant to produce the APK? If so, can anyone point me to any resources showing me how to extend the Ant script to produce an APK file?
Also, if anyone knows of any sources of information explaining how to do these I'd be very grateful:
- Sign an Android APK with a production certificate
- Change the Google Maps API key during the build process to use a production key
- Obfuscate the application using Proguard
I'm completely fresh to Ant, so appreciate any help you can offer.