可以在 Google Play 上为 Android 电视和智能手机发布相同的应用
Is possible to publish same app for Android TV and smartphones on Google Play
我想将我的应用程序用于 Android 电视和模拟器(如 BlueStacks)。我的应用有 Leanback 启动器请求,并且已经针对 Android 电视发布。
当我生成签名的 apk 时,我可以将它上传到 bluestack 模拟器,它 运行 很好。 BlueStack 模拟器在 Google Play
上显示为 Samsung Galaxy S8
在 Google Play 控制台中,我发布的应用仅支持电视设备。
是否可以在 Google Play 上为 Android 电视和智能手机发布相同的应用程序?
这是我的清单文件
<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>
您只需要电视功能 -
<uses-feature
android:name="android.software.leanback"
android:required="true" />
如果删除它,您可以同时发布两者。
我想将我的应用程序用于 Android 电视和模拟器(如 BlueStacks)。我的应用有 Leanback 启动器请求,并且已经针对 Android 电视发布。
当我生成签名的 apk 时,我可以将它上传到 bluestack 模拟器,它 运行 很好。 BlueStack 模拟器在 Google Play
上显示为 Samsung Galaxy S8在 Google Play 控制台中,我发布的应用仅支持电视设备。
是否可以在 Google Play 上为 Android 电视和智能手机发布相同的应用程序?
这是我的清单文件
<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>
您只需要电视功能 -
<uses-feature
android:name="android.software.leanback"
android:required="true" />
如果删除它,您可以同时发布两者。