How to tell ProGuard to keep everything in a particular package?
EDIT This answer is 10 years old – it may not apply to newer proguard versions. I think you need to add these flags at the very least (modify for you individual package names): -keep class javax.** { *; } -keep class org.** { *; } -keep class twitter4j.** { *; } Also, add these … Read more