skip to Main Content

Android Studio – Enabling R8 in android kotlin app cause Library class android.content.res.XmlResourceParser implements program class org.xmlpull.v1.XmlPullParser

I enabled R8 plugging for obfuscation I got an exception when I am trying to generate the signed apk "Library class android.content.res.XmlResourceParser implements program class org.xmlpull.v1.XmlPullParser" I have added below proGuard rule to the proguard-rules.pro file -dontwarn org.xmlpull.v1.** -dontnote org.xmlpull.v1.**…

VIEW QUESTION

Retrofit2 proguard remove param – Twitter-api

I use retrofit 2 & using proguard in my project. My proguard: -dontwarn retrofit2.** -keep class retrofit2.** { *; } -keepattributes Signature -keepattributes Exceptions -keepclassmembers class fqcn.of.javascript.interface.for.webview { public *; } # Begin twitter 4j. -dontwarn twitter4j.** -keep class twitter4j.conf.PropertyConfigurationFactory…

VIEW QUESTION
Back To Top
Search