1-keep class com.android.contacts.model.Sources { 2 public <init>(...); 3} 4 5# Xml files containing onClick (menus and layouts) require that proguard not 6# remove their handlers. 7-keepclassmembers class * extends android.app.Activity { 8 public void *(android.view.View); 9 public void *(android.view.MenuItem); 10} 11 12# Any class or method annotated with NeededForTesting or NeededForReflection. 13-keep @com.android.contacts.test.NeededForTesting class * 14-keep @com.android.contacts.test.NeededForReflection class * 15-keepclassmembers class * { 16@com.android.contacts.test.NeededForTesting *; 17@com.android.contacts.test.NeededForReflection *; 18} 19 20-verbose 21