Android Question Google Play Says Device Not Supported.

touchsquid

Active Member
Licensed User
Longtime User
Google Play says one of my apps is unsupported on the LG G Pad 8.0 I use for development. Of course the app runs fine on the device.

The manifest is this:
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="18/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:xlargeScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:supportsRtl, "true")
'End of default text.
AddPermission("android.permission.TRANSMIT_IR")
AddPermission(android.permission.GET_ACCOUNTS)
RemovePermission(android.permission.ACCESS_FINE_LOCATION)
RemovePermission(android.permission.ACCESS_COARSE_LOCATION)
RemovePermission(android.permission.CHANGE_NETWORK_STATE)
RemovePermission(android.permission.ACCESS_COARSE_UPDATES)
RemovePermission(android.permission.BATTERY_STATS)
RemovePermission(android.permission.DUMP)
RemovePermission(android.permission.GET_TASKS)
RemovePermission(android.permission.KILL_BACKGROUND_PROCESSES)
RemovePermission(android.permission.REBOOT)
RemovePermission(android.permission.WRITE_SETTINGS)
'android.hardware.consumerir
AddManifestText(<uses-feature android:name="android.hardware.consumerir" android:required="true"/>)
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false"/>)

I don't see anything there that should cause problems. The device does have a Sim card slot, but no card inserted.

A similar app does show as compatible. The manifest is:
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true"
    android:xlargeScreens="true"
    android:normalScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddPermission(android.permission.CHANGE_WIFI_MULTICAST_STATE)
AddPermission("android.permission.TRANSMIT_IR")
AddPermission(android.permission.GET_ACCOUNTS)
RemovePermission(android.permission.ACCESS_FINE_LOCATION)
RemovePermission(android.permission.ACCESS_COARSE_LOCATION)
RemovePermission(android.permission.CHANGE_NETWORK_STATE)
RemovePermission(android.permission.ACCESS_COARSE_UPDATES)
RemovePermission(android.permission.BATTERY_STATS)
RemovePermission(android.permission.DUMP)
RemovePermission(android.permission.GET_TASKS)
RemovePermission(android.permission.KILL_BACKGROUND_PROCESSES)
RemovePermission(android.permission.REBOOT)
RemovePermission(android.permission.WRITE_SETTINGS)

The only obvious difference is
SetApplicationAttribute(android:supportsRtl, "true")
Could that be the issue? Any other ideas?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The device does have a Sim card slot, but no card inserted.
It doesn't matter that there is no card installed.

You can see the list of features derived from the permissions when you upload the APK to Google Play. I would start with making this feature optional:
android.hardware.consumerir

If it is still not supported then make more features optional until you find the problematic one.
 
Upvote 0

touchsquid

Active Member
Licensed User
Longtime User
Thanks. I doubt if it is consumerir, as I just added that, and the problem existed before. I guess I can use a beta test release for testing this. Trial and error...
 
Upvote 0
Top