How to build an android app with external libraries using ant?
android, ant
Solution
but the build fails because it's not building with some jarfiles I have in my libs directory.
And your error message is...what? I suspect you may be misinterpreting the error message.
I'd like to figure out the proper way to tell ant to build with some external jar files in my libs directory. How should I do this?
Just put them in `libs/`, as Ant will add everything in there to your build path. See this project, and this project, and this project for examples.
Problem
I have an existing project that builds fine using my IDE. I'd like to use the "android update" command to generate an ant buildfile for this project. The buildfile is generated fine, but the build fails because it's not building with some jarfiles I have in my libs directory. I'd like to figure out the proper way to tell ant to build with some external jar files in my libs directory. How should I do this? Is it a property in build.properties? Do I need to modify build.xml somehow? Or is there a different solution entirely?