我想在 Play 商店中更新应用程序的版本,但在测试中我开始收到此错误。
Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final
根据google issues tracker这是新的,也许有人可以解决这个问题。
最佳答案
我添加了
-keep class androidx.core.app.** { *; }
在proguard规则中解决问题。编辑:减号 (-) 需要在该行之前
关于android - androidx.activity.ComponentActivity 的父类(super class) androidx.core.app.f 被声明为 final,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72853889/