Try this:
-keep class javax.** { *; }
-keep class org.** { *; }
-keep class twitter4j.** { *; }
Cf post from @CaspNZ:
Android Proguard with external jar
More Related Contents:
- Proguard ignores config file of library
- Is proguard.cfg needed for library projects?
- How do I add a library project to Android Studio?
- How to avoid reverse engineering of an APK file
- Is it possible to dynamically load a library at runtime from an Android application?
- What ProGuard configuration do I need for Firebase on Android?
- How to keep/exclude a particular package path when using proguard?
- Could not find Library.apk!
- proguard hell – can’t find referenced class
- Compile with Proguard gives SimException: “local variable type mismatch”
- ProGuard: can’t find referenced class com.google.android.gms.R
- How to get release build apk file using proguard
- Proguard with OrmLite on Android
- proguard Missing type parameter
- How to use the ProGuard in Android Studio?
- java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader
- Using GSON with proguard enabled
- Using an Android library project Activity within another project
- Using the new “manifestmerger” property in Android
- Google Drive API doesn’t play well with ProGuard (NPE)
- How to change the proguard mapping file name in gradle for Android project
- Android: What are the recommended configurations for Proguard?
- How to create a release android library package (aar) in Android Studio (not debug)
- how to reference an asset in a library project
- Is it possible to use proguard in debug mode?
- proguard.cfg file missing
- How to obfuscate an Android library (.jar file) using Proguard in Eclipse
- Android Library assets folder doesn’t get copied
- can’t generate signed APK from Android studio “Execution failed for task ‘:packageRelease'”
- Proguard (R8) negate operator not working to keep anything except certain packages