I am trying to pack Android code in a jar file so that I can use it in another project. But when I do this, I get the following error messages. I am not sure how to do it right, if someone has done this, send a link, and some details will be really useful.
thanks
Error generating final archive: Found duplicate file for APK: AndroidManifest.xml Origin 1: C:\Users\Admin\workspace\Test\bin\resources.ap_ Origin 2: C:\Users\Admin\workspace\Test\lib\JarLib.jar
I need to use it in many projects, so I want to compile it as a jar, like other libraries available on the Internet, such as twitter4j, googleAnalytic, androidsupportlibrary, and I need to know which folder is required to be included in the Jar file. I tried to create it by excluding the resource folder and using eclipse-> export, although it creates a jar, but when I include it in another test project, the above error messages are displayed.
source share