¡@

Home 

2014/10/16 ¤W¤È 08:17:10

android Programming Glossary: keepattributes

How do you stop Proguard from removing type parameters?

http://stackoverflow.com/questions/12924425/how-do-you-stop-proguard-from-removing-type-parameters

renamesourcefileattribute SourceFile keepparameternames keepattributes Exceptions Annotation InnerClasses SourceFile LineNumberTable..

NoClassDefFoundError when using proguard

http://stackoverflow.com/questions/13624503/noclassdeffounderror-when-using-proguard

optimizations code simplification arithmetic keepattributes Annotation verbose keep public class extends android.app.Activity.. arithmetic field class merging allowaccessmodification keepattributes Annotation renamesourcefileattribute SourceFile keepattributes.. Annotation renamesourcefileattribute SourceFile keepattributes SourceFile LineNumberTable repackageclasses '' keep public class..

Google Drive API doesn't play well with ProGuard (NPE)

http://stackoverflow.com/questions/14410520/google-drive-api-doesnt-play-well-with-proguard-npe

so they appear in the stack trace of the develeper console keepattributes Annotation EnclosingMethod SourceFile LineNumberTable keep public.. dontwarn com.google.common.collect.MinMaxPriorityQueue keepattributes Annotation Signature keep class extends com.google.api.client.json.GenericJson..

Android: What are the recommended configurations for Proguard?

http://stackoverflow.com/questions/5068251/android-what-are-the-recommended-configurations-for-proguard

'' #Uncomment if using annotations to keep them. # keepattributes Annotation #Keep classes that are referenced on the AndroidManifest..

Compile with Proguard gives SimException UNEXPECTED TOP-LEVEL EXCEPTION

http://stackoverflow.com/questions/5701126/compile-with-proguard-gives-simexception-unexpected-top-level-exception

number information and class and method names information keepattributes SourceFile LineNumberTable keep allowshrinking allowoptimization.. release though. On top of all this you shouldn't specify keepattributes LocalVariableTable LocalVariableTypeTable and equally keepparameternames..

Android Proguard Javascript Interface Fail

http://stackoverflow.com/questions/6271485/android-proguard-javascript-interface-fail

also need to preserve the @JavascriptInterface annotations keepattributes JavascriptInterface http developer.android.com reference android..

How do you stop Proguard from removing type parameters?

http://stackoverflow.com/questions/12924425/how-do-you-stop-proguard-from-removing-type-parameters

error incompatible types Object Proguard.cfg dontoptimize renamesourcefileattribute SourceFile keepparameternames keepattributes Exceptions Annotation InnerClasses SourceFile LineNumberTable Deprecated keep public class public protected keepclassmembers..

NoClassDefFoundError when using proguard

http://stackoverflow.com/questions/13624503/noclassdeffounderror-when-using-proguard

processed.jar dontpreverify repackageclasses '' allowaccessmodification optimizations code simplification arithmetic keepattributes Annotation verbose keep public class extends android.app.Activity keep public class extends android.app.Application keep.. printmapping mapping.txt optimizations code simplification arithmetic field class merging allowaccessmodification keepattributes Annotation renamesourcefileattribute SourceFile keepattributes SourceFile LineNumberTable repackageclasses '' keep public.. arithmetic field class merging allowaccessmodification keepattributes Annotation renamesourcefileattribute SourceFile keepattributes SourceFile LineNumberTable repackageclasses '' keep public class extends android.app.Activity keep public class extends..

Google Drive API doesn't play well with ProGuard (NPE)

http://stackoverflow.com/questions/14410520/google-drive-api-doesnt-play-well-with-proguard-npe

retrace tool printmapping mapping.txt # Keep line numbers so they appear in the stack trace of the develeper console keepattributes Annotation EnclosingMethod SourceFile LineNumberTable keep public class extends android.app.Activity keep public class extends.. com.google. dontwarn com.google. dontwarn sun.misc.Unsafe dontwarn com.google.common.collect.MinMaxPriorityQueue keepattributes Annotation Signature keep class extends com.google.api.client.json.GenericJson keep class com.google.api.services.drive...

Android: What are the recommended configurations for Proguard?

http://stackoverflow.com/questions/5068251/android-what-are-the-recommended-configurations-for-proguard

#To repackage classes on a single package # repackageclasses '' #Uncomment if using annotations to keep them. # keepattributes Annotation #Keep classes that are referenced on the AndroidManifest keep public class extends android.app.Activity keep..

Compile with Proguard gives SimException UNEXPECTED TOP-LEVEL EXCEPTION

http://stackoverflow.com/questions/5701126/compile-with-proguard-gives-simexception-unexpected-top-level-exception

of stacktrace information you can use respectively for line number information and class and method names information keepattributes SourceFile LineNumberTable keep allowshrinking allowoptimization class methods This way you can do partial obfuscation and.. I still suggest you create and keep the mapping files upon release though. On top of all this you shouldn't specify keepattributes LocalVariableTable LocalVariableTypeTable and equally keepparameternames if you do obfuscate this by itself might get you..

Android Proguard Javascript Interface Fail

http://stackoverflow.com/questions/6271485/android-proguard-javascript-interface-fail

Now my project works perfectly. Thanks. For API 17 you also need to preserve the @JavascriptInterface annotations keepattributes JavascriptInterface http developer.android.com reference android webkit JavascriptInterface.html android proguard share..