How to use JarJar with Android to change external jar package names?

I cannot find clear instructions on how to use the JarJar Android project.

I have a scenario in which my application project is based on two separate libraries that both use the same external .jar files. If I try to compile the application, I get "Error converting to Dalvik format with error 1".

Can someone show me as a JarJar user on Android using the build.xml file to change the package name for the third party .jar folder?

+8
java android ant jarjar
source share
1 answer

Try the following:

  • first you copy your own jar file to your project in the folder.
  • Now you go to your project, right-click on your project and click on the "Bullets" button, select configure build path again,
  • Now you select the libraries and select the external jar file, after viewing your jar folder, select this jar file.
  • click finish button
-4
source share

All Articles