Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 931
Paul Maltsev Avatar asked Sep 06 '25 06:09

Paul Maltsev


1 Answers

I added

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

In the proguard rules to solve the issue.

Edit: minus sign (-) needs to be before the line

like image 122
Fabio Fracassi Avatar answered Sep 07 '25 21:09

Fabio Fracassi