Home > Back-end >  Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final
Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final

Time:07-06

I wanted to update the version of the application in the Play Store, but in the tests I started getting this error.

Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final

According to the google issues tracker this is new, maybe someone has a solution to this problem.

Thanks and have a nice day.

CodePudding user response:

I added

keep class androidx.core.app.** { *; }

In the proguard rules to solve the issue.

CodePudding user response:

Did you upgrade some libraries in your build.gradle?

Coroutines maybe?

We have this exception reported too and it has the same stack trace as an older exception we had before, so possibly equally related to the Kotlin coroutines lib version:

java.lang.VerifyError: Verifier rejected class. Code working fine in debug mode, but not throwing this error in release mode

  • Related