android - androidx.activity.ComponentActivity 的父类(super class) androidx.core.app.f 被声明为 final

标签 android testing google-play

我想在 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/

相关文章:

android - 无法通过 faSTLane 使用 Google Play 应用签名将 android 包上传到 Google Play

android - 使我的应用不适用于平板电脑

Android 闹钟应用程序在 Oreo 下因 NullPointerException 导致 SystemUI 崩溃(仅限)

android - 当用户关闭支付浏览器时该怎么办?

testing - SSL证书测试

asp.net - 旧版 Web 应用程序 - 确定与现代浏览器的向前兼容性?

testing - Maven 测试与 ant 测试(现在更具体)

android - Flutter in_app_purchase 停留在 queryProductDetails() 方法

android - 错误 java.lang.IndexOutOfBoundsException : Invalid index 1, 大小为 0

android - 在线性布局中拉伸(stretch)图像按钮以使用可用空间