Monday, 15 February 2010

How to change the android.jar precedence while using ant and external libs? -



How to change the android.jar precedence while using ant and external libs? -

i trying compile , build android application using ant. did android update project --target 1 --path <path project> create build.xml. using api 16. have external jars overwrite of classes , methods android.jar , hence need in classpath before android.jar. eclipse lets me reorder precedence , hence able work there. while using ant, way give external jar location having jar.libs.dir=libs , external.libs.dir=libs in build.properties file. looks added after android.jar file in compile task.

is there way can alter that?

i able resolve overriding compile target in build.xml have custom jars bootstrap library , android.jar classpath library.

android ant

No comments:

Post a Comment