Play 商店说我的应用程序必须至少有 28 个 targetSDK。如果我没有怎么办?

Play store says that my app must have targetSDK at least 28. What If I don't?

当我在 google PlayStore 上为我的应用程序上传更新时,它显示一条警告说我的应用程序必须 target sdk >= 28 到八月。我的应用使用 target sdk = 27

问题

如果我不这样做呢?? PlayStore 没有说明那些不进行这些更改的人会发生什么...... 我应该担心并尝试重构我的应用程序吗?

我为什么要问?

我使用的库不能很好地与 targetSDK 28 配合使用,因为它会给我错误。

Google设置今年以来的新规定,新政策摘要:

When you upload an APK, it needs to meet Google Play’s target API level requirements. Starting August 1, 2019, Google Play requires that new apps target at least Android 9.0 (API level 28), and that app updates target Android 9.0 from November 1, 2019. Until these dates, new apps and app updates must target at least Android 8.0 (API level 26).

https://developer.android.com/distribute/best-practices/develop/64-bit

此外,您必须拥有 arm64 才能进行所有新升级,更多信息:

Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. 64-bit CPUs deliver faster, richer experiences for your users. Adding a 64-bit version of your app provides performance improvements, makes way for future innovation, and sets you up for devices with 64-bit-only hardware.

https://developer.android.com/distribute/best-practices/develop/target-sdk

关于,如果你有代码或者联系开发者,你可以尝试重新编译它的库。

更新:

我今天(10/07/2019 在 11:37)直接从 Google:

得到了这个答案

To provide both 32-bit and 64-bit versions, you can either: have support for both in the same APK or app bundle; or you can have a release with multiple APKs where 1 APK supports 32-bit and another supports 64-bit.

From August 1, 2021 apps that do not have a 64-bit version available will no longer be served to users with 64-bit compatible devices. Please note, 32-bit devices will still be served 32-bit compatible versions. We are not changing our policies on serving 32-bit releases.

Please note that this requirement does not apply to:

APKs or app bundles explicitly targeting Wear OS or Android TV, which are form factors that do not currently support 64-bit code.

APKs or app bundles that are not distributed to devices running Android 9 Pie or later.

To begin updating your apps to meet these new requirements we highly recommend reading through the relevant documents in the Android Developer Center: https://developer.android.com/distribute/best-practices/develop/64-bit

For developers using Android NDK, please check the following information on APIs for developing native code:

https://developer.android.com/ndk/guides/stable_apis

Please check our blog for updates on this announcement:

https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html

没有这样的问题,但最好有最新的 targetSdk,因为它是最新的 sdk,并且会被较新的设备支持,并且用户范围会更多,因为很多人将拥有支持 sdk 的设备版本大于 27.

您将无法在截止日期后上传不符合要求的应用程序的新版本。该应用程序的现有版本不会受到影响(至少在不久的将来)。

首先我上传的目标级别 28 未被接受。我把它改成29并上传成功。作为更新,我上传了目标级别 28,它被接受了(现在正在审核中)。

我猜,新的 apk 应该在 8 月之后是 29,但直到 11 月,28 级才被接受为更新。