【发布时间】:2018-12-12 20:07:19
【问题描述】:
我想将我的应用用于 Android TV 和模拟器(如 BlueStacks)。我的应用有 Leanback Launcher 请求,并且已经针对 Android TV 发布。
当我生成签名的 apk 时,我可以上传它 bluestack 模拟器,它运行良好。 BlueStack 模拟器在 Google Play 上显示为三星 Galaxy S8
在 Google Play Console 中,我发布的应用仅支持电视设备。
是否可以在 Google Play 上为 Android TV 和智能手机发布相同的应用?
这是我的清单文件
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="true" />
<application
android:name=".Application.MyApp"
android:allowBackup="true"
android:banner="@drawable/tv_banner"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/MyAppTheme">
<activity
android:name=".LoginActivity"
android:excludeFromRecents="true"
android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
【问题讨论】:
标签: android google-play android-tv