question

Pascal Körfer avatar image
Pascal Körfer asked

Sideloaded .apk not appearing on some Fire TV devices

Hello,

I have the following problem. I am developing a FireTV app which I distributed to my direct customer for QA etc. Since today the app doesn´t appear in the 'recent' and 'your app library' view. The app is always installed via the ADB. The weird thing is that this is only happening on my customers devices, not on mine.

The necessary Launcher settings are applied inside the Manifest and all listed Hardware features (https://developer.android.com/training/tv/start/hardware.html) are configured.

Device Data:

FireTV Stick gen 1. Fire OS 5.2.1.1

Fire TV Box gen2 Fire OS 5.2.4.0

Activity Manifest:

<uses-permission android:name="android.permission.INTERNET" />
<!-- Permissions for Amazon Fling Mode -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<supports-screens android:smallScreens="false"
    android:normalScreens="false"
    android:largeScreens="true"
    android:xlargeScreens="true"/>

<uses-feature android:name="android.software.leanback" android:required="true" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.nfc" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-feature android:name="android.hardware.microphone" android:required="false"/>
<uses-feature android:name="android.hardware.sensor" android:required="false"/>

...

<activity
    android:name="com.customer.prod.ui.activity.LoginActivity"
    android:screenOrientation="landscape">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
        <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
    </intent-filter>
</activity>
fire tvdevices
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Levon@Amazon avatar image
Levon@Amazon answered

Hi Pascal,

Are you still experiencing any problems with that? Your manifest looks correct. Is com.customer.prod.ui.activity.LoginActivity your main / startup activity? Otherwise, have your testers tried to uninstall previous version(s) of the app, and optionally restart the device?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sam01 avatar image
sam01 answered

Hi Pascal,

I'm observing that sideloaded apps are always displaying in Portrait mode

See below thread for more details. Are you seeing this issue in your sideloaded app?

https://forums.developer.amazon.com/questions/238722/side-loaded-app-icon-on-amazon-fire-tv.html

Thanks

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.