Play商店说我的应用程序必须具有至少28的targetSDK.如果没有,该怎么办? [英] Play store says that my app must have targetSDK at least 28. What If I don't?

查看:83
本文介绍了Play商店说我的应用程序必须具有至少28的targetSDK.如果没有,该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Google PlayStore上为我的应用程序上传更新时,它显示警告,提示我的应用程序必须在8月之前具有target sdk >= 28.我的应用使用target sdk = 27

While I was uploading an update for my app on google PlayStore, it showed a warning that said that my app must have target sdk >= 28 until August. My app uses target sdk = 27

问题

如果我不这样做怎么办?? PlayStore并未说明不进行这些更改的人将会怎样... 我应该担心它并尝试重构我的应用程序吗?

What if I don't do that?? PlayStore does not say what will happen to those who don't make these changes... Should I worry about it and try refactoring my app?

我为什么要问?

我使用的库无法与targetSDK 28配合使用,因为它会给我带来错误.

I am using a library which is not working well with targetSDK 28 as it gives me errors.

推荐答案

自今年以来,Google制定了新要求,这是新政策的摘要:

Google set new requirements since this year, an abstract of the new policy:

上传APK时,它必须符合Google Play的目标API 级别要求.从2019年8月1日开始,Google Play要求 新应用的定位至少是Android 9.0(API级别28),并且该应用 自2019年11月1日起更新Android 9.0.在这些日期之前, 新应用和应用更新必须至少针对Android 8.0(API级别) 26).

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位

此外,所有新升级都必须具有arm64,更多信息:

Also, you must have a arm64 for all new upgrades, more info:

从2019年8月1日开始,您需要在Google Play上发布的应用 支持64位体系结构. 64位CPU提供更快,更丰富的功能 您的用户的体验.添加您的应用程序的64位版本 提供性能改进,为未来的创新铺平道路, 并设置您使用仅64位硬件的设备.

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

关于库,您可以尝试重新编译它(如果您有代码)或与开发人员联系.

Regarding, the library you can try recompiling it if you have the code or contact the developer.

更新:

我今天(10/07/2019 at 11:37)从直接从Google 那里得到了这个答案:

I got this answer today (10/07/2019 at 11:37) from Google Directly:

要同时提供32位和64位版本,您可以: 同时支持同一APK或应用捆绑包中的两者;或者你可以有一个 发布多个APK,其中1个APK支持32位,另一个 支持64位.

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.

从2021年8月1日开始,没有可用的64位版本的应用程序 将不再为使用64位兼容设备的用户提供服务. 请注意,仍将为32位设备提供32位兼容 版本.我们不会更改有关服务32位版本的政策.

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:

明确针对Wear OS或Android TV的APK或应用包,其中 是目前不支持64位代码的外形尺寸.

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

未分发给正在运行的设备的APK或应用包 Android 9 Pie或更高版本.

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

要开始更新您的应用程序以满足这些新要求,我们高度重视 建议阅读Android中的相关文档 开发人员中心: https://developer.android.com/distribute/best-practices/开发/64位

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

对于使用Android NDK的开发人员,请检查以下内容 有关开发本机代码的API的信息:

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

这篇关于Play商店说我的应用程序必须具有至少28的targetSDK.如果没有,该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆