LibretroDroid icon indicating copy to clipboard operation
LibretroDroid copied to clipboard

Release applications crash due to class resolution failure

Open tytydraco opened this issue 5 years ago • 2 comments

Calling getVariables() on a GLRetroView can cause a crash on release versions due to proguard stripping the class away. The issue is not present on debug builds.

https://del.dog/lirfatoora.txt

In my limited experience with proguard, I think we need to add proguard rules to keep the class available.

tytydraco avatar Oct 12 '20 02:10 tytydraco

Yes, definitely. A valid consumerProguardFile should be provided. As a workaround, you can add this to your app proguard file.

-keep class com.swordfish.libretrodroid.** { *; }

Swordfish90 avatar Oct 13 '20 17:10 Swordfish90

Bump!

tytydraco avatar Sep 07 '21 05:09 tytydraco