I have a jar that I need to reference from my Android project. I also have the src of the jar, so I could include it in the project itself. I was wondering if referencing a jar vs. compiling it in with the project using Dalvik makes any difference in terms of final Dalvik package size that gets generated.
A:
If you're using ant to build your project, just include the .jar file in your libs/
directory. The build script will automatically include it in your APK.
Jesse Wilson
2010-09-22 02:11:01