【问题标题】:Play Store rejecting app bundle for required automotive feature, but the feature is not marked as required in manifestPlay 商店拒绝所需汽车功能的应用程序包,但该功能未在清单中标记为必需
【发布时间】:2020-04-13 17:03:47
【问题描述】:

我正在尝试将支持 android Auto 的新版本应用上传到 Play 管理中心的 beta 轨道,但 Play 商店拒绝该捆绑包并出现错误:

Forbidden

Problem:

APKs and Android App Bundles must not require following features: android.hardware.type.automotive.

但是,它是应用程序的一项可选功能,并在清单中声明:

<uses-feature android:name="android.hardware.type.automotive" android:required="false" />

我查看了最新的示例和文档以了解可能导致此问题的任何更改,但我一无所获。我还使用合并的清单比较工具检查了该值在构建期间没有被覆盖。

有什么想法或提示吗?

【问题讨论】:

  • 签入所有模块或新添加库的清单
  • 我没有提到我已经使用 android studio 中的清单合并工具验证了该值仍然为 false。我已使用此信息更新了问题。
  • 这篇文章可能会帮助您了解更多关于uses-feature gamedev.stackexchange.com/questions/112865/…

标签: android google-play google-play-console


【解决方案1】:

我正在为可能遇到此问题的任何人回答我自己的问题。

可能看起来很明显,但我对错误的修复是从我的清单中简单地删除用于汽车的 uses-feature 元素。

我从未找到确切的说明,但我只能假设 Play 商店现在拒绝 android.hardware.type.automotive 功能,因为它已重新用于汽车操作系统。

https://developer.android.com/training/cars/media/auto 上的文档不再提及将功能添加到清单以支持 Android Auto,但确实提到汽车操作系统需要它(除了单独的模块/构建),但我的应用仅支持 Android Auto这次。

这令人困惑,因为其他地方的汽车功能文档 (https://developer.android.com/guide/topics/manifest/uses-feature-element) 没有提及此更改。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多