Is possible to publish same app for Android TV and smartphones on Google Play

这一生的挚爱 提交于 2020-01-05 04:42:11

问题


I want to use my app for Android TV and emulator (like BlueStacks). My app has Leanback Launcher request and already published for Android TV.

When I generate signed apk, i can upload it bluestack emulator and it is running good. BlueStack emulator is shown as Samsung Galaxy S8 on Google Play

In Google Play Console, my published app only support TV devices.

Is possible to publish same app for Android TV and smartphones on Google Play?

Its my manifest file

<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>

回答1:


You require TV only feature -

<uses-feature
    android:name="android.software.leanback"
    android:required="true" />

If you remove it, you can publish for both.



来源:https://stackoverflow.com/questions/51172712/is-possible-to-publish-same-app-for-android-tv-and-smartphones-on-google-play

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!