android - Error in default proguard.cfg? -


when create new android project in eclipse, following default proguard.cfg file created:

-optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -verbose -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*  -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.app.backup.backupagenthelper -keep public class * extends android.preference.preference -keep public class com.android.vending.licensing.ilicensingservice  -keepclasseswithmembernames class * {     native <methods>; }  -keepclasseswithmembernames class * {     public <init>(android.content.context, android.util.attributeset); }  -keepclasseswithmembernames class * {     public <init>(android.content.context, android.util.attributeset, int); }  -keepclassmembers enum * {     public static **[] values();     public static ** valueof(java.lang.string); }  -keep class * implements android.os.parcelable {   public static final android.os.parcelable$creator *; } 

note -optimizations line comments out rest of file. i'm wondering if intentional or if typo , line should have last 2 characters reversed:

-optimizations !code/simplification/arithmetic,!field/*,!class/merging*/ 

i'm using adt plugin 9.0 , eclipse 3.6.1.

okay. i'm feeling little stupid. answer nothing here comment. line should interpreted if spaced out this:

-optimizations !code/simplification/arithmetic,                !field/*,                !class/merging/* 

the * wildcard character , syntax highlighting done forum wrong in case.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -