我从Google Play控制台收到以下警告,我们的应用程序没有达到最低目标API级别.然而,它是这样做的,下面是它的代码:

defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        //TODO: Keep an eye on targetSdkVersion number, as it has to be within one year of major android release.
        applicationId "com.com"
        minSdkVersion 24
        targetSdkVersion 33
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

The warning image is below: enter image description here

Then, when I click on the affect app bundles, they are really old ones from over 2 years ago: enter image description here

我应该直接删除这些旧的Bundle 包,还是需要做一些其他的事情?我很担心,因为它说我们将无法更新应用程序,除非我们满足要求(最新的代码做到了).

UPDATE:根据下面的答案,首先使用符合要求的应用程序包更新每首曲目(即使是暂停的曲目),然后发送它们进行审查,然后发布这些更改(即使曲目处于非活动状态),我无法更新应用程序的警告仍然存在.所以我直接联系了谷歌,收到了关于这一警告的以下消息.我想下次我try 更新应用程序时会发生什么,我们将拭目以待

"As per checking, this warning is with regards to Google Play's target API level requirement which only warns the developers about the risk of not releasing a compliant app version. In this case, you may ignore this warning and you can rest assured that you will still be able to release an app update. I hope this helps. Please let me know if you have any other questions about the Play Console and we'll be happy to help."

Update of Update:在发布并点击收件箱中的消息后,会出现一条新消息,说明违规问题已解决(如下所述).

推荐答案

出于类似的原因,我遇到了这个警告--我在内部测试中暂停了一个包含旧的target api version的包.

100

要查看需要更新的所有应用程序Bundle 包列表,您必须访问:

100-这将列出所有应用程序Bundle 包以及它们在哪里发布-生产或测试.

Also, you can check them by going to the App Bundle Explorer and checking all versions with Release status is Active for matching target sdk In my case, it was paused version 1.0.0 with target sdk 31 for internal testing: App Bundle Explorer

您需要转到带有目标SDK<;33的活动版本所在的分区,然后执行以下操作: 100

然后,如果您返回到101,您将不再看到View affected app bundles按钮,并且您将收到以下通知:

Notification

因此,在完成所有操作后,您的所有活动版本都将遵守规则

UPD:

在完成上述所有步骤并成功完成审查后,警告消息将消失,并且您将在您的Inbox中收到以下消息:

Message

Android相关问答推荐

三星上的某些应用程序已禁用通知权限切换

当我的Log.i()不在主线程中时,如何在我的logcat中显示它?

MAP函数返回单位列表而不是字符列表

在Delphi中使用OpenCV for Android在使用JLIST时抛出错误

触发PurchasesUpdatedListener回调时,billingClient.launchBillingFlow之前设置的成员变量丢失

空数据来自改装

Android Studio SQLite 错误:列不正确(没有这样的列:_id)

从不可组合回调打开可组合屏幕

Color.Transparent 和 Color.Unspecified 之间的区别

kotlin中&&和and的区别

如何使用 Wea​​r OS 上的运行状况服务模拟位置?

如何在 Jetpack Compose 中对数据类进行 Parcelize

如何在 Jetpack Compose 中对齐按钮底部中心?

判断 AAR 元数据时发现 Android 问题:androidx.core:core:1.12.0-alpha01 和 androidx.core:core-ktx:1.12.0-alpha01

如何以编程方式通过 whatsapp android 共享图像和文本

Android:appcompat 和 material 如何从默认创建 appcompat 和 material 视图?

更新后 Firebase 服务无法在模拟器上运行

如何授予对 Uri 图像的永久权限(androidx)

这是 let 函数的正确用法吗?

如何使用 recyclerview 实现这样的布局?