Tuesday, February 18, 2014

android use groguard confusion, how will all the methods of a class which are reserved?


posts by lvge5574 edited 2013-01-28 14:44:10
proguard when configuring how all the methods of a class inside the reservation, so that those methods are not confused, how to configure?
Which way are mostly static method calls for
jniFind examples. . .<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
-dontpreverify 
-Repackageclasses''
-Allowaccessmodification
-Optimizations! Code / simplification / arithmetic
-Keepattributes * Annotation *

-Keep public class * extends android.app.Activity
-Keep public class * extends android.app.Application
-Keep public class * extends android.app.Service
-Keep public class * extends android.content.BroadcastReceiver
-Keep public class * extends android.content.ContentProvider

-Keep public class * extends android.view.View {
public (android.content.Context);
public (android.content.Context, android.util.AttributeSet);
public (android.content.Context, android.util.AttributeSet, int);
public void set * (...);
}

-Keepclasseswithmembers class * {
public (android.content.Context, android.util.AttributeSet);
}

-Keepclasseswithmembers class * {
public (android.content.Context, android.util.AttributeSet, int);
}

-Keepclassmembers class * extends android.content.Context {
public void * (android.view.View);
public void * (android.view.MenuItem);
}

-Keepclassmembers class * implements android.os.Parcelable {
static android.os.Parcelable $ Creator CREATOR;
}

-Keepclassmembers class **. R $ * {
public static ;
}

Reply:
Thank you, I have to get up.
Reply:
How you get the

No comments:

Post a Comment