Trying to obfuscate using ProGuard but getting 3rd party libraries errors, so I'm excluding each package one by one:
-keepclassmembers class android.** {*;}
-keepclassmembers interface android.** {*;}
-keepclassmembers class com.google.** {*;}
-keepclassmembers interface com.google.** {*;}
Is there a way to whitelist only my package name?
com.dht.github.myApp
According to your code you are just keeping class members not whole class. Use this to keep class as it is.
-keep class com.google.** {*;}
-keep interface com.google.** {*;}
You also can use this line to only obfuscate your own classes and keep everything else.
-keep class !com.yourpackage.**,!com.youranotherpackage.** { *; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With