Open Robotxm opened 2 years ago
Try using these proguard-rules:
-keep class org.apache.** { *; }
-keep class ch.qos.** { *; }
-keep class io.netty.**
-keep public class org.slf4j.** {
*
}
-keepclassmembers class org.apache.http.** { *; }
-keepclassmembers class io.ktor.** { *; }
-keepclassmembers class kotlinx.** {
*;
volatile <fields>;
}
I'm still facing some issues with playstore updates: updating the app always results in an app-crash and only with a fresh installation the problem goes away.
Try using these proguard-rules:
-keep class org.apache.** { *; } -keep class ch.qos.** { *; } -keep class io.netty.** -keep public class org.slf4j.** { * } -keepclassmembers class org.apache.http.** { *; } -keepclassmembers class io.ktor.** { *; } -keepclassmembers class kotlinx.** { *; volatile <fields>; }
I'm still facing some issues with playstore updates: updating the app always results in an app-crash and only with a fresh installation the problem goes away.
Thx a lot. I have been already using following more aggresive rules. It seemed that upgrading from an older version app worked.
-keep class com.gargoylesoftware.** { *; }
-keep class javax.xml.** { *; }
-keep class net.sourceforge.htmlunit.** { *; }
-keep class netscape.** { *; }
-keep class org.apache.** { *; }
-keep class org.htmlunit.org.apache.** { *; }
-keep class org.w3c.dom.** { *; }
-keep class org.xml.sax.** { *; }
Describe the bug When R8 is enabled, I get the exception
ExceptionInInitializerError
. Here is the stack trace:It seems that some classes are renamed by R8 causing initialization failure.
Code Sample
Expected behavior skrape.it could run normally when using R8.
Additional context Maybe adding some proguard rules helps?