【问题标题】:Android TV app can't be installed on Android TV devicesAndroid TV 应用无法安装在 Android TV 设备上
【发布时间】: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 设备兼容?

【问题讨论】:

    标签: android google-play android-tv


    【解决方案1】:

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

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

    【讨论】:

    • 实际上,我添加了额外的屏幕截图和电视横幅,但我错过了在您提到的场景的第二步中标记“选择加入 Android TV”复选框。这就是为什么我能够发布我的应用程序并且它不适用于运行 Android TV 的设备。感谢您,我重新检查了此设置并找到了解决方案。非常感谢!
    【解决方案2】:

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

    【讨论】:

    • 你是救生员!!!!!! :))))
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-08-17
    • 1970-01-01
    • 1970-01-01
    • 2021-02-11
    • 2020-06-28
    • 2019-07-15
    • 1970-01-01
    相关资源
    最近更新 更多