unresolved_external
unresolved_external

Reputation: 2018

How to build Android application with Ant?

I have an android project, which uses latest Google API's and Android 15 SDK to build. It also has additional libraries - *.so, *.jar, and assets and resources, if the last two makes any difference. So I would like to build this project via Ant, so I can use that script in my further CruiseControl configuration.

Currently I have only build.xml which automatically generated via this command:

android update project --path .

What should I change to include, those libraries and resources if needed. Please write down the simplest example with library usage. Thank you on advance.

Upvotes: 0

Views: 1782

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007554

Put your JARs in libs/. Set up your Android library projects via the instructions found in the documentation, mostly involving modifying project.properties. You were already building the NDK pieces via the command line using ndk-build.

Upvotes: 1

Related Questions