Wednesday, April 9, 2014

The jar and how to use android


I wrote a java class and then want to make a c + + lib file that has become a common method, similar to the sdk, do not want others to see the source code, it should be in the android jar package now! How it should be packaged into jar it? And I want to use this jar bag method should be used in other android how engineering? Seeking heroes.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
1, jar package does not confuse it, others can still see decompiled source
2, packaged into a jar package just in eclipse file-> export-> jar package can
3, As android confused Refer proguard
4, in the project which is called jar is very simple, you just need to put the jar package libs directory can

No comments:

Post a Comment