Skip to content

Commit

Permalink
Prevents NoSuchMethodError for classes that implement Serializable,
Browse files Browse the repository at this point in the history
specifically the News class
  • Loading branch information
SeanPONeil committed Nov 2, 2012
1 parent 816568d commit c862fef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,17 @@
}

-keepclassmembers class * extends com.actionbarsherlock.ActionBarSherlock { public <init>(...); }

-keepnames class * implements java.io.Serializable

-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
!static !transient <fields>;
!private <fields>;
!private <methods>;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}

0 comments on commit c862fef

Please sign in to comment.