You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Cordova开发的Android TV应用未在TV端Play商店显示,求排查Manifest问题

问题排查与配置修正方案

现有配置的核心问题

  • android.software.leanback 特性设置了android:required="true"
    你使用的小米MI电视棒、bTV等国内安卓TV/电视盒设备,大多没有预装谷歌官方的Leanback库,Play商店会自动过滤强制要求Leanback特性的应用,导致这类设备无法搜索到你的应用。
  • 未完成Play Console的TV端分发配置
    即使Manifest配置正确,也需要在Google Play Console后台的「定价和分发范围」板块,找到Android TV相关选项,勾选允许分发到TV设备,同时提交符合TV规范的截图、横幅图等审核素材,通过TV端专项审核后,应用才会在TV端Play商店上架展示。
  • 需确认banner资源符合官方规范
    你配置的@drawable/banner必须是320*180像素的专用TV横幅图,资源缺失、尺寸不符合要求也会导致应用被TV端Play商店过滤。

修正后的配置建议

AndroidManifest.xml调整

<?xml version='1.0' encoding='utf-8'?>
<manifest android:versionCode="10004" android:versionName="1.0.4" package="com.eyecharts.div" xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="android.permission.INTERNET" />
    <!-- 把leanback的required改为false,兼容无Leanback的TV设备 -->
    <uses-feature android:name="android.software.leanback" android:required="false" />
    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
    <!-- 额外声明支持TV设备,提升识别率 -->
    <uses-feature android:name="android.hardware.type.television" android:required="false" />
    <application android:allowBackup="true" android:banner="@drawable/banner" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true">
        <activity android:exported="true" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
            <intent-filter android:label="@string/launcher_name">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

Cordova config.xml无需额外调整

你现有的SDK版本配置完全符合TV应用要求,minSdkVersion=21对应Android 5.0,已经覆盖绝大多数在售TV设备。

内容的提问来源于stack exchange,提问作者Juan Carlos

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.05 02:24:03