Android 无法在 Android 电视设备上安装电视应用

Android TV app can't be installed on Android TV devices

我已经在 Google Play 商店发布了应用。在我试过的任何设备 运行 Android 电视上的 Google Play Store 应用程序中都找不到它。我可以使用它的名称在 Google Play 上找到它,但它无法安装在我的 Android 电视设备上。此应用的 Play 管理中心中有 649 个标记为受支持的设备。我什至在我的设备列表中有一个设备被标记为受支持。这是 Google Chromecast Google 电视。但它也不兼容,我也无法在此设备上安装我的应用程序。在 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 电视设备上。我是否应该更改 AndroidManifest 中的某些内容以使其与 Android 电视设备兼容?

要分发到 Android 电视设备,您需要在 Google Play 中选择加入。在 Play 控制台中,转到左侧菜单中发布分组中的设置部分。 Select 高级设置并切换到发布类型选项卡。单击“+ 添加发布类型”和 select Android 电视。您必须包含电视分发所需的屏幕截图和横幅。

请注意,Android 电视需要额外审核才能验证 TV App Quality

在当前的游戏控制台中,它是这样的,Ian 描述的步骤