Sunday, April 28, 2013

[android-developers] Re: How to create JAR libs in Android

Piren...

One question more... when I configure proguard obfuscation, the jar file are obfuscate too?

Thanks
mbarbiero

Em quinta-feira, 25 de abril de 2013 04h05min59s UTC-3, Piren escreveu:
You can use regular Ant Build commands to package your app code into a JAR, or use the new build system for that (http://tools.android.com/tech-docs/new-build-system/user-guide).

The simplest way though is just to mark your project as Android Library and pull the resulting JAR (they modified ADT to automatically create JAR a long while ago). Just notice that these libraries are very constrained in using resources and some instances of Switch statements. Future android builds are supposed to fix this by using the R files a bit differently.

On Wednesday, April 24, 2013 3:42:52 PM UTC+3, mbarbiero wrote:
I need to create a JAR lib (like KSOAP or Spongycastle) to distribute but I dont find documentation! 
Is it possible?
Can anybody help me?
Thanks
mBarbiero

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment