Android Question Amazon store: no devices supported by this APK

Scotter

Active Member
Licensed User
FIXED! See next post after this one
Hi -
I've added some landscape variants to my primary layout and now Amazon app store says: "Your APK currently supports no devices. In order to submit your app, this APK must support at least one device."

REGION
B4X:
#Region  Project Attributes
 #ApplicationLabel: Play to Evolve
    'Version is now 1.[#VersionCode]
#VersionCode: 81
#VersionName: 1
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified <--- Is there another choice that I need to put here?
#CanInstallToExternalStorage: False
#End Region

NOTE: When I had it set to "portrait" Amazon had no issue with it. Oh and Google Play Store used to say no devices and now says many are supported. Not sure if the issue is this setting or the variants I've added (see below). I'm loath to put "portrait" because I want people to be able to use landscape, especially with tablets.


MANIFEST
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.
'********* TabStrip ***********************
CreateResource(drawable, background_tab.xml,
<selector xmlns:android="http://schemas.android.com/apk/res/android"
    android:exitFadeDuration="@android:integer/config_shortAnimTime">
    <item android:state_pressed="true" android:drawable="[USER=45325]@Color[/USER]/background_tab_pressed" />
    <item android:state_focused="true" android:drawable="[USER=45325]@Color[/USER]/background_tab_pressed"/>
    <item android:drawable="@android:color/transparent"/>
</selector>)
CreateResource(values, colors.xml,
<resources>
    <color name="background_tab_pressed">#6633B5E5</color>
</resources>)
For my designer's primary layout, I have the following variants:
320x480
320x569
320x640
480x320
512x384
569x320
640x320
When it worked with Amazon and not with Google Play Store, I had only the 320x480 and 320x569 variants. Now that I've added all these others, it works better with Google Play Store and not at all with Amazon.
Help?
 
Last edited:

Scotter

Active Member
Licensed User
OK I experimented.
Changed the following line in the manifest to...
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
and now Amazon accepted it and says it supports a ton of devices, yay!
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Scotter, to use the code tags click on the icon which when hovered over says insert; then choose code before pasting. In case you didn't know that.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…