问题描述
我们有一个针对Android TV的应用程序,该应用程序已经实时发布,但由于与Google Play商店中的任何设备都不兼容,因此我无法在Android TV设备上找到/安装该应用程序。做错了什么,但除了复制/粘贴响应外,我什么也没得到。
他们唯一说的是它不包含以下内容:
<uses-feature
android:name="android.software.leanback"
android:required="true" />
但是它显然确实在AndroidManifest.xml中的正确位置包含了此代码。我已经将此应用程序与另一个类似的应用程序(出现并运行)进行了比较,清单文件实际上是相同的。
此外,该应用程序在Android TV模拟器中运行良好,最重要的是,在该版本的Play开发人员门户中,该应用程序均表示与许多电视设备(包括我要测试的电视设备)兼容作为一个实时应用)
我真的对此感到困惑,因为一切似乎都是正确的,但是他们通过复制/粘贴电子邮件坚持认为上面的回溯代码不存在。
这是我完整的清单代码:
<?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>
有关如何进行此操作的任何想法或建议?谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)