gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 18:29:59 24 4
gpt4 key购买 nike

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

问题

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

我为什么要问?

我使用的库不适用于 targetSDK 28,因为它会给我错误。

最佳答案

谷歌今年以来的新要求,新政策摘要:

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

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

更新:

我今天(2019 年 10 月 7 日 11:37)从 Google Directly 得到了这个答案:

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

关于android - Play 商店说我的应用程序必须至少有 28 个 targetSDK。如果我没有怎么办?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56792612/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com