程序问答   发布时间:2022-06-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗??

开发过程中遇到如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?的问题如何解决?下面主要结合日常开发的经验,给出你关于如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?的解决方法建议,希望对你解决如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?有所启发或帮助;

我收到一条警告消息,内容为:

我们检测到您的应用在 1 个或多个 app bundle 或 APK 的清单文件中包含 requestLegacyExternalStorage 标志。

我的目标是 androID 10 并使用 requestLegacyExternalStorage = true,

  1. 我的应用会在 5 月 5 日从 Google Play 下架吗?
  2. 我是否需要在 5 月 5 日之前从清单中删除 requestLegacyExternalStorage 标志?
  3. 我是否需要更新以将 SDK 定位到 30
  4. 如果我使用目标 sdk 29 和 requestLegacyExternalStorage = true,是否还需要其他更改?

解决方法

我已经写信给 Google 并得到以下答复:

Thank you for contacTing Google Play Developer Support!

You are notified because your app supports devices running Android 11+. 

Please note that the targetSdkVersion fields means that your app works best on that level of API. It doesn't mean that the App will only run from that version and below. For more information,please refer to this developer documentation page.

To resolve this issue,please review the solutions given in the policy update email.

I hope this clarifies your concern. If you have any other questions about using the Play Console,please let me know.

所以,据我所知,我们应该添加 @H_695_34@ma​​xSdkVersion=29 以不支持 Android 11+,并且 Google 不会删除@R_607_9616@

,

在 Android 11 上运行但面向 Android 10(API 级别 29)的应用仍然可以请求 requestLegacyExternalStorage 属性。此标志允许应用程序暂时退出与范围存储相关的更改,例如授予对不同目录和不同类型媒体文件的访问权限。在您将应用更新为面向 Android 11 后,系统会忽略 requestLegacyExternalStorage 标志。

https://developer.android.com/about/versions/11/privacy/storage#scoped-storage

大佬总结

以上是大佬教程为你收集整理的如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?全部内容,希望文章能够帮你解决如果我的目标是 SDK 29 并使用 requestLegacyExternalStorage = true,我的应用会在 5 月 5 日从 google play 中删除吗?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。