Google Play:How do I fix device not compatible with Play Store?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 962
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Google Play:How do I fix device not compatible with Play Store?

Post by trevix » Thu Nov 30, 2023 5:39 pm

Publishing a multiplatform App is getting very, very complex.

My standalone "Referi" (LC10dp6) is available for iOS and Android, cells and tablets. In the case of Android, also for TvBox A10 and A11.
My last version 1.1.8 is available in production on all platforms.
Yesterday, when trying to do an update, searching for my standalone in Google play app of a Android 10 TvBox, I got this report: device not compatible for your device.

1 - the TvBox does not have a camera, and no Gps
2 - on a Android 11 TvBox, my App is visible and downloadable. So the problem is related only to Android 10 an TvBox
3 - on a Android 7 cell phone, my App is visible and downloadable.
4 - I have not modified the LC standalone settings nor the manifest.
5 - I believe that at a certain point, before polishing it for internal testing, I decided, in the LC Standlone settings, to set the minimum android version to 10, but then I restored it to 7 (could this have disrupted something?)
6 - Since then, I did several attempts to modify the Manifest (inside the LC bundle, I don't use a copied file) to no avail.
7 - I tested the problem on 2 different Android 10 TvBoxes, deleting the cache and the data of Google Play, but this did not solve...

What follow is:
A - the Manifest of version 1.1.8, taken by Android studio,. This is the standalone that was working fine.
B - the Manifest of version 1.2.0, taken by Android studio,. This is the standalone that is not visible in Play Store.
C - the Manifest.xml content, the file inside the LC bundle
D - The standalone settings

Does anyone has any idea of what could be wrong? Any help would be appreciated.

A: (please note that Android studio, on all manifests, mark the line xmlns:android="http://schemas.android.com/apk/res/android" in RED, as from error. This is the first time I notice it)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:versionCode="278"
    android:versionName="1.1.8"
    android:compileSdkVersion="33"
    android:compileSdkVersionCodename="13"
    package="com.trevix.it.segnapunto"
    platformBuildVersionCode="33"
    platformBuildVersionName="13">

    <uses-permission
        android:name="android.permission.CHANGE_WIFI_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_NETWORK_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_COARSE_LOCATION" />

    <uses-permission
        android:name="android.permission.ACCESS_WIFI_STATE" />

    <uses-permission
        android:name="android.permission.CHANGE_NETWORK_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_NETWORK_STATE" />

    <uses-permission
        android:name="android.permission.READ_PHONE_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_FINE_LOCATION" />

    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission
        android:name="android.permission.INTERNET" />

    <uses-permission
        android:name="android.permission.CAMERA" />

    <uses-permission
        android:name="android.permission.BLUETOOTH" />

    <uses-permission
        android:name="android.permission.BLUETOOTH_ADMIN" />

    <uses-permission
        android:name="android.permission.WAKE_LOCK" />

    <uses-permission
        android:name="com.android.vending.BILLING" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.camera.front"
        android:required="false" />

    <uses-feature
        android:glEsVersion="0x30000" />

    <uses-feature
        android:name="android.hardware.bluetooth"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.bluetooth_le"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />

    <uses-sdk
        android:minSdkVersion="24"
        android:targetSdkVersion="33" />

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

    <application
        android:label="Referi"
        android:icon="@ref/0x7f080000"
        android:debuggable="false"
        android:appComponentFactory="androidx.core.app.CoreComponentFactory">

        <activity
            android:theme="@ref/0x01030007"
            android:name=".mblandroid"
            android:exported="true"
            android:launchMode="2"
            android:screenOrientation="6"
            android:configChanges="0x6a0"
            android:windowSoftInputMode="0x2"
            android:hardwareAccelerated="false">

            <intent-filter>

                <action
                    android:name="android.intent.action.MAIN" />

                <category
                    android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <intent-filter>

                <action
                    android:name="android.intent.action.VIEW" />

                <category
                    android:name="android.intent.category.DEFAULT" />

                <category
                    android:name="android.intent.category.BROWSABLE" />

                <data
                    android:scheme="whatsapp" />
            </intent-filter>
        </activity>

        <activity
            android:theme="@ref/0x01030010"
            android:name="com.android.billingclient.api.ProxyBillingActivity"
            android:exported="false"
            android:configChanges="0x5b0" />

        <provider
            android:name="com.trevix.it.segnapunto.AppProvider"
            android:exported="false"
            android:authorities="com.trevix.it.segnapunto.fileprovider"
            android:grantUriPermissions="true">

            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@ref/0x7f0c0002" />
        </provider>

        <service
            android:name=".mblandroidservice"
            android:enabled="true" />

        <receiver
            android:name="AppReceiver" />

        <activity
            android:name="com.inneractive.api.ads.InneractiveFullScreenView" />

        <activity
            android:theme="@ref/0x01030010"
            android:name="com.google.android.gms.common.api.GoogleApiActivity"
            android:exported="false" />

        <meta-data
            android:name="com.google.android.play.billingclient.version"
            android:value="5.2.1" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@ref/0x7f060000" />

        <meta-data
            android:name="com.android.dynamic.apk.fused.modules"
            android:value="base" />

        <meta-data
            android:name="com.android.vending.splits"
            android:value="@ref/0x7f0c0004" />
    </application>

    <queries>

        <intent>

            <action
                android:name="com.android.vending.billing.InAppBillingService.BIND" />
        </intent>
    </queries>
</manifest>

B:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:versionCode="282"
    android:versionName="1.2.0"
    android:compileSdkVersion="33"
    android:compileSdkVersionCodename="13"
    package="com.trevix.it.segnapunto"
    platformBuildVersionCode="33"
    platformBuildVersionName="13">

    <uses-permission
        android:name="android.permission.CHANGE_WIFI_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_NETWORK_STATE" />

    <uses-permission
        android:name="android.permission.ACCESS_COARSE_LOCATION" />

    <uses-permission
        android:name="android.permission.ACCESS_WIFI_STATE" />

    <uses-permission
        android:name="android.permission.CHANGE_NETWORK_STATE" />

    <uses-permission
        android:name="android.permission.NEARBY_WIFI_DEVICES" />

    <uses-permission
        android:name="android.permission.BLUETOOTH_SCAN" />

    <uses-permission
        android:name="android.permission.BLUETOOTH_ADVERTISE" />

    <uses-permission
        android:name="android.permission.BLUETOOTH_CONNECT" />

    <uses-permission
        android:name="android.permission.ACCESS_FINE_LOCATION" />

    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission
        android:name="android.permission.INTERNET" />

    <uses-permission
        android:name="android.permission.CAMERA" />

    <uses-permission
        android:name="android.permission.BLUETOOTH" />

    <uses-permission
        android:name="android.permission.BLUETOOTH_ADMIN" />

    <uses-permission
        android:name="android.permission.WAKE_LOCK" />

    <uses-permission
        android:name="com.android.vending.BILLING" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.camera.front"
        android:required="false" />

    <uses-feature
        android:glEsVersion="0x30000" />

    <uses-feature
        android:name="android.hardware.bluetooth"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.bluetooth_le"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />

    <uses-sdk
        android:minSdkVersion="24"
        android:targetSdkVersion="33" />

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

    <application
        android:label="Referi"
        android:icon="@ref/0x7f080000"
        android:debuggable="false"
        android:appComponentFactory="androidx.core.app.CoreComponentFactory">

        <activity
            android:theme="@ref/0x01030007"
            android:name=".mblandroid"
            android:exported="true"
            android:launchMode="2"
            android:screenOrientation="6"
            android:configChanges="0x6a0"
            android:windowSoftInputMode="0x2"
            android:hardwareAccelerated="false">

            <intent-filter>

                <action
                    android:name="android.intent.action.MAIN" />

                <category
                    android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <intent-filter>

                <action
                    android:name="android.intent.action.VIEW" />

                <category
                    android:name="android.intent.category.DEFAULT" />

                <category
                    android:name="android.intent.category.BROWSABLE" />

                <data
                    android:scheme="whatsapp" />
            </intent-filter>
        </activity>

        <activity
            android:theme="@ref/0x01030010"
            android:name="com.android.billingclient.api.ProxyBillingActivity"
            android:exported="false"
            android:configChanges="0x5b0" />

        <provider
            android:name="com.trevix.it.segnapunto.AppProvider"
            android:exported="false"
            android:authorities="com.trevix.it.segnapunto.fileprovider"
            android:grantUriPermissions="true">

            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@ref/0x7f0c0002" />
        </provider>

        <service
            android:name=".mblandroidservice"
            android:enabled="true" />

        <receiver
            android:name="AppReceiver" />

        <activity
            android:theme="@ref/0x01030010"
            android:name="com.google.android.gms.common.api.GoogleApiActivity"
            android:exported="false" />

        <meta-data
            android:name="com.google.android.play.billingclient.version"
            android:value="5.2.1" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@ref/0x7f060000" />

        <meta-data
            android:name="com.android.dynamic.apk.fused.modules"
            android:value="base" />

        <meta-data
            android:name="com.android.vending.splits"
            android:value="@ref/0x7f0c0004" />
    </application>

    <queries>

        <intent>

            <action
                android:name="com.android.vending.billing.InAppBillingService.BIND" />
        </intent>
    </queries>
</manifest>
C:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="${IDENTIFIER}"
          android:versionCode="${VERSION_CODE}"
          android:versionName="${VERSION_NAME}"
          ${INSTALL_LOCATION}>
${PUSH_PERMISSIONS}
${USES_PERMISSION}${USES_FEATURE}
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.bluetooth_le" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
  <uses-sdk android:minSdkVersion="${MIN_SDK_VERSION}" android:targetSdkVersion="${TARGET_SDK_VERSION}"/>
  <supports-screens
      android:largeScreens="true"
      android:normalScreens="true"
      android:smallScreens="true"
      android:anyDensity="true" />
  ${QUERY_LIST}
  <application android:label="${LABEL}" ${ICON} android:debuggable="false" ${ALLOW_HTTP_CONNECTIONS}>
    <activity android:name="${NAME}"
      android:theme="${THEME}"
      android:screenOrientation="${ORIENTATION}"
      android:configChanges="${CONFIG_CHANGES}"
      android:windowSoftInputMode="stateHidden"
      android:launchMode="singleTask"
      android:hardwareAccelerated="${HARDWARE_ACCELERATED}"
      android:exported="true">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      ${NFC_FILTER}
      ${CUSTOM_URL_FILTER}
    </activity>
    ${BILLING_ACTIVITY}
    ${PROVIDER}
    ${SERVICE}
    ${RECEIVER}
    ${PUSH_SERVICE}
    ${AD_ACTIVITY}
  </application>
</manifest>
D:
Schermata 2023-11-30 alle 17.30.17.png
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

trevix
Posts: 962
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Google Play:How do I fix device not compatible with Play Store?

Post by trevix » Fri Dec 01, 2023 12:34 pm

My Android 10 TvBox has OpenGL ES 2.0: could this be the problem?
Even modifying the Manifest of LC and inserting a <uses-feature android:glEsVersion="0x00020000" /> or deleting th uses-feature, when the standalone gets generate it always have <uses-feature android:glEsVersion="0x30000" />
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

trevix
Posts: 962
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Google Play:How do I fix device not compatible with Play Store?

Post by trevix » Fri Dec 01, 2023 12:48 pm

Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Google Play:How do I fix device not compatible with Play Store?

Post by jacque » Fri Dec 01, 2023 6:25 pm

trevix wrote:
Fri Dec 01, 2023 12:48 pm
Oh my God...!
https://support.google.com/googleplay/a ... 2773631-EU
That sure sounds like a Google bug which apparently they aren't going to fix. If you can find the bug report you could add your comments.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

trevix
Posts: 962
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Google Play:How do I fix device not compatible with Play Store? SOLVED??

Post by trevix » Tue Dec 05, 2023 11:43 am

Amazing: using the same LC standalone settings and manifest, I uploaded to Google Play a previous version of my standalone (that at the time was appearing regularly on Play store), updating its vesrion number, and VOILA': my app appeared on the Play store.

Apparently the culprit should be something in my code:
- the only Android permission in my code is this and is the same on both versions:

Code: Select all

androidRequestPermission "android.permission.BLUETOOTH_SCAN"
androidRequestPermission "android.permission.BLUETOOTH_ADVERTISE"
androidRequestPermission "android.permission.BLUETOOTH_CONNECT"
- The only difference in standalone settings is that the undownloadable version has "TreeView" in the Inclusions

I was trying to find what could cause the problem (a shot in the dark) but, before that, I uploaded again to Play store the standalone that before wasn't appearing: SUCCESS
The new version, now (for how long?), is again available in the Google play store.
PS: Play store stinks
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

Post Reply

Return to “Android Deployment”