【发布时间】:2021-02-11 00:12:45
【问题描述】:
我们有一个针对 Android TV 的应用程序,它已经实时发布,但它与 Google Play 商店中的任何设备都不兼容,我无法在 Android TV 设备上找到/安装它,我认为 Google 已经做错了什么,但除了复制/粘贴响应之外,我没有从他们那里得到任何信息。
他们唯一说的是它不包含以下内容:
<uses-feature
android:name="android.software.leanback"
android:required="true" />
但它显然在 AndroidManifest.xml 中的正确位置包含此代码。我将此应用程序与另一个类似的应用程序(出现并运行)进行了比较,并且清单文件几乎相同。
此外,该应用程序在 Android TV 模拟器中运行良好,最重要的是,在发布的 Play Developer 门户中,它表示它与大量电视设备(包括我正在尝试测试的设备)兼容它作为一个实时应用程序)!
我真的坚持这一点,因为一切似乎都是正确的,但他们通过他们的复制/粘贴电子邮件坚持认为上面的后仰代码不存在。
这是我的完整清单代码:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myapp">
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<application
android:name=".GetMeRadioApplication"
android:usesCleartextTraffic="true"
android:allowBackup="true"
android:banner="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".ui.SplashActivity"
android:banner="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:logo="@drawable/ic_launcher"
android:noHistory="true"
android:screenOrientation="fullSensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.home.HomeActivity"
android:screenOrientation="fullSensor"
android:theme="@style/HomeCustomTitle">
</activity>
<activity
android:name=".ui.grid.GridActivity"
android:screenOrientation="fullSensor"
android:theme="@style/GenreCustomTitle" />
<activity
android:name=".ui.search.SearchActivity"
android:screenOrientation="fullSensor"
android:theme="@style/CustomTitleBrowseSearch" />
<activity
android:name=".ui.player.PlayerActivity"
android:screenOrientation="fullSensor" />
</application>
</manifest>
关于如何推进这一点有什么想法或建议吗?谢谢。
【问题讨论】:
标签: android-studio google-play android-tv google-developer-tools