From c862fefbe88b9c8f52b12b1c3e6d198121bfe00e Mon Sep 17 00:00:00 2001 From: Sean O'Neil Date: Fri, 2 Nov 2012 16:53:49 -0400 Subject: [PATCH] Prevents NoSuchMethodError for classes that implement Serializable, specifically the News class --- proguard.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/proguard.cfg b/proguard.cfg index cd5c825..a1ee567 100644 --- a/proguard.cfg +++ b/proguard.cfg @@ -57,3 +57,17 @@ } -keepclassmembers class * extends com.actionbarsherlock.ActionBarSherlock { public (...); } + +-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 ; + !private ; + !private ; + private void writeObject(java.io.ObjectOutputStream); + private void readObject(java.io.ObjectInputStream); + java.lang.Object writeReplace(); + java.lang.Object readResolve(); +}