Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to use Proguard with Android Annotations?
    text
    copied!<p>Does anybody know how to use Proguard with Android Annotations?</p> <p>I found this resource: <a href="https://code.google.com/p/androidannotations/wiki/ProGuard" rel="nofollow">https://code.google.com/p/androidannotations/wiki/ProGuard</a></p> <p>But when I use the proguard.cfg file from there, I get the following error:</p> <pre><code>proguard.ParseException: Unknown option '*' in line 6 of file '/Users/jabdulius/Documents/Dropbox/workspace-tinder/Tinder/proguard.cfg' </code></pre> <p>Here's the proguard.cfg file I copied from the link:</p> <pre><code>-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 &lt;methods&gt;; } -keepclasseswithmembernames class * { public &lt;init&gt;(android.content.Context, android.util.AttributeSet); } -keepclasseswithmembernames class * { public &lt;init&gt;(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 *; } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload