Android TV 应用无法安装在 Android TV 设备上
Posted
技术标签:
【中文标题】Android TV 应用无法安装在 Android TV 设备上【英文标题】:Android TV app can't be installed on Android TV devices 【发布时间】:2021-06-10 05:34:33 【问题描述】:我已经在 Google Play Store 上发布了应用。在我尝试过的任何运行 android TV 的设备上的 Google Play 商店应用程序中都找不到它。我可以使用它的名称在 Google Play 上找到它,但它无法安装在我的 Android TV 设备上。此应用在 Play 管理中心中有 649 个标记为受支持的设备。我什至在我的设备列表中将一台设备标记为受支持。它是谷歌 Chromecast 谷歌电视。但它也不兼容,我也无法在此设备上安装我的应用程序。有没有人在使用 Android TV 应用时遇到过类似的情况?
这是我的清单。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxx">
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="true" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Leanback">
<activity
android:name=".MainActivity"
android:banner="@mipmap/icon_androidtv"
android:icon="@mipmap/icon_androidtv"
android:label="@string/app_name"
android:logo="@mipmap/icon_androidtv">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
是的,我的应用程序非常简单。只有一个视图,上面有一个 WebView。当然,该应用程序可以直接从 Android Studio 安装在任何 Android TV 设备上。我是否应该更改 AndroidManifest 中的某些内容以使其与 Android TV 设备兼容?
【问题讨论】:
【参考方案1】:要分发到 Android TV 设备,您需要在 Google Play 中选择加入。在 Play 管理中心,转到左侧菜单中发布分组中的设置部分。选择高级设置并切换到发布类型选项卡。点击“+ 添加发布类型”并选择 Android TV。您必须包含电视分发所需的屏幕截图和横幅。
请注意,Android TV 需要额外审核才能验证 TV App Quality。
【讨论】:
实际上,我添加了额外的屏幕截图和电视横幅,但我错过了在您提到的场景的第二步中标记“选择加入 Android TV”复选框。这就是为什么我能够发布我的应用程序并且它不适用于运行 Android TV 的设备。感谢您,我重新检查了此设置并找到了解决方案。非常感谢!【参考方案2】:在当前的游戏控制台中是这样的,Ian 描述的步骤
【讨论】:
你是救生员!!!!!! :))))以上是关于Android TV 应用无法安装在 Android TV 设备上的主要内容,如果未能解决你的问题,请参考以下文章
Flutter 应用程序在 Android TV 上安装但无法打开,为啥?
Google 在 Android TV 应用上声称设备不兼容