代号一个APK清单用于Android TV [英] Codename One APK Manifest for Android TV

查看:81
本文介绍了代号一个APK清单用于Android TV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(给读者的注释:这个问题仅涉及代号One)

正如我之前在将一个代号应用程序用于带有电视遥控器的电视盒,我在Play商店中发布了我的第一个适用于Android TV的Codename One应用。

As I previously told in Use a Codename One app for a tv box with tv remote control, I published in the Play Store my first Codename One app for Android TV. It works fine with my Android TV-Box, but it was reject.

我通过Google Play支持收到了以下电子邮件:

I received the following e-mail by the Google Play support:


感谢您与Android TV小组联系。

Thank you for contacting the Android TV Team.

我看到我们对此问题有些困惑在
您的应用中找到。您的电视APK
清单必须包含以下项目之一:

I see that there is some confusion regarding the issues we found in your app. Your TV APK manifest must contain one of these items:


  • 后备意图:< ; intent-filter>< action android:name = android.intent.action.MAIN />
    < category android:name = android.intent.category.LEANBACK_LAUNCHER />
    < / intent-filter>

Uses-feature leanback required = true: < uses-feature
android:name = android.software.leanback android:required = true />

Uses-feature leanback required=true: <uses-feature android:name="android.software.leanback"android:required="true" />

Uses-feature leanback required = false:< uses-feature
android:name = android.software.leanback android:required = false />

Uses-feature leanback required=false: <uses-feature android:name="android.software.leanback"android:required="false" />

您可能还需要参考Android TV App Quality页面以获取更多$ b有关我们的审核标准的$ b信息( https://developer.android。 com / docs / quality-guidelines / tv-app-quality )。

You may also want to refer to the Android TV App Quality page for more information on our review criteria (https://developer.android.com/docs/quality-guidelines/tv-app-quality).

我希望我能提供一些澄清。解决了
的上述问题后,请提交新版本的应用程序
,我们的团队将很乐意为您再次对其进行审核。

I hope I was able to offer some clarification. Once you have addressed the issues mentioned above, please submit a new version of your app and our team will gladly review it again for you.

那么...我该怎么办?您是否有构建提示,或者可以为此添加构建提示?

So... what do I have to do? Do you have a build hint or can you add a build hint for that?

推荐答案

像这样使用 android.xpermissions

android.xpermissions=<uses-feature android:name="android.software.leanback"android:required="false" />

或者,如果您愿意, true

您还可以使用 android.xintent_filter 添加意图过滤器选项,但是如果我正确理解了他们的电子邮件,那不是

You can also use android.xintent_filter to add the intent filter option but if I understand their email correctly it isn't necessary.

这篇关于代号一个APK清单用于Android TV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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