How to specify lib folder for JARs when using Android-generated ant build file ?

Posted by Eno on Stack Overflow See other posts from Stack Overflow or by Eno
Published on 2010-04-09T21:35:49Z Indexed on 2010/04/09 22:03 UTC
Read the original article Hit count: 359

Filed under:
|
|
|
|

Im using an ant build file that has been generated by android. Our Android application requires a JAR file that lives inside the lib folder of our project, so I need to adjust the classpath that ant is using when it builds stuff.

When I run:

ant -lib lib debug

the project builds just fine, but this should really be inside the build file itself. The build file that android generates references the android_rules.xml so a lot of this stuff is automated. I guess my question, what the best practice here when working with the Android build rules ?

© Stack Overflow or respective owner

Related posts about android

Related posts about ant