Closed sevar83 closed 5 years ago
After some discusion with the Google support at https://issuetracker.google.com/issues/127905310 we finally came up with these 2 rules:
-keepclasseswithmembernames,includedescriptorclasses class com.frostwire.jlibtorrent.swig.libtorrent_jni {
native <methods>;
}
-keep class com.frostwire.jlibtorrent.swig.** { *; }
Just to report for anyone who might struggle with ProGuard/R8 that the error:
can be easily fixed with the following rules:
@se-bastiaan, you might wish to add those lines in the README or even as a
consumerProguardFiles
in library/build.gradle.