Android Question This application is not compatible with your devices

Status
Not open for further replies.

Mr Blue Sky

Active Member
Licensed User
Longtime User
I do not understand since the update B4A8.50 my application is no longer visible on android store when
I go directly with the Internet link I (This application is not compatible with your devices.)
before everything was good?

Code: Copy
<uses-sdk android: minSdkVersion = "19" android: targetSdkVersion = "26" />
 
the APP 1.7.0 to 1.7.7 it same version i send only for check the problem with different SDK and API
the last it <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="26"/>

Untitled-2.jpg
 
Upvote 0
It is impossible to help you like this.

How is AVD Manager related to the problem with Google Play?

You wrote that it happened after you update to B4A v8.50. Have you tried to compile it again with v8.30? I'm pretty sure that it is not related however you seem to be convinced so it is worth a try.
I think may be wrong that it is related because I made the update and I had the problem of AVD x86 and android market same time after having the update of my application after i test on the phone live
 
Upvote 0
Code: Copy
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
   
AddManifestText(<uses-feature android:name="android.hardware.location.gps"/>)  
AddManifestText(<uses-permission android:name="android.permission.SEND_SMS"/>)
AddManifestText(<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>)
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH"/>)  
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH_ADMIN"/>)  

SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)

AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
AddPermission(android.permission.READ_EXTERNAL_STORAGE)
AddPermission(android.permission.READ_PHONE_STATE)
AddPermission(android.permission.SEND_SMS)                      
AddPermission(android.permission.RECORD_AUDIO)
AddPermission(android.permission.MODIFY_AUDIO_SETTINGS)
'************ Auth BLUETOOTH ************
AddPermission(android.permission.ACCESS_COARSE_LOCATION)  
AddPermission(android.permission.BLUETOOTH_ADMIN)          
AddPermission(android.permission.BLUETOOTH)                  

AddPermission(android.permission.INTERNET)              
AddPermission(android.permission.ACCESS_NETWORK_STATE)      
AddPermission(android.permission.ACCESS_FINE_LOCATION)

AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/></intent-filter>)
AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_CONNECTED"/></intent-filter>)
'************ Auth BLUETOOTH (end) ************


'************ Google Play Services Base ************
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data    android:name="com.google.android.gms.version"    android:value="@integer/google_play_services_version" />
)
'************ Google Play Services Base (end) ************

AddApplicationText(
<meta-data    android:name="com.google.android.geo.API_KEY"    android:value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
)

AddApplicationText(
<uses-library android:name="com.android.future.usb.accessory" android:required="false" />
)
 
Upvote 0
This is not what I asked for. I've asked you to upload the generated AndroidManifest.xml file.

This is a mistake though it is not related to the compatibility issue:
Code: Copy
AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/></intent-filter>)
AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_CONNECTED"/></intent-filter>)


What is this:
Code: Copy
AddApplicationText(
<uses-library android:name="com.android.future.usb.accessory" android:required="false" />
)
?
Where does it come from?

Remove it and upload a new APK to Google Play.
 
Upvote 0
Besides the above, I think that there is a really suspicious thing in the manifest

Code: Copy
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH"/>) 
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH_ADMIN"/>)

Unless I'm totally mistaken (may happen), you are using uses-feature instead of uses-permission in those 2 entries --> Google Play will filter the available devices depending on the features that are declared to be used, but they will have no effect when installing the app locally. These name strings are not features but permissions, so no device will declare them and Google Play will probably return an empty list. Look HERE. (Also, declaring certain permissions directly implies that the related hardware or software features are required so in this case I guess that it should be enough with changing uses-feature to uses-permission)
 
Upvote 0
This is not what I asked for. I've asked you to upload the generated AndroidManifest.xml file.

This is a mistake though it is not related to the compatibility issue:
Code: Copy
AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/></intent-filter>)
AddReceiverText(Starter, <intent-filter> <action android:name="android.bluetooth.device.action.ACL_CONNECTED"/></intent-filter>)


What is this:
Code: Copy
AddApplicationText(
<uses-library android:name="com.android.future.usb.accessory" android:required="false" />
)
?
Where does it come from?

Remove it and upload a new APK to Google Play.

<uses-library android:name="com.android.future.usb.accessory" android:required="false" />
this is fot the IOIO board for use directly on USB
 

Attachments

Upvote 0
Besides the above, I think that there is a really suspicious thing in the manifest

Code: Copy
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH"/>)
AddManifestText(<uses-feature android:name="android.permission.BLUETOOTH_ADMIN"/>)

Unless I'm totally mistaken (may happen), you are using uses-feature instead of uses-permission in those 2 entries --> Google Play will filter the available devices depending on the features that are declared to be used, but they will have no effect when installing the app locally. These name strings are not features but permissions, so no device will declare them and Google Play will probably return an empty list. Look HERE. (Also, declaring certain permissions directly implies that the related hardware or software features are required so in this case I guess that it should be enough with changing uses-feature to uses-permission)
thank i change already, send to google market and wait it update
#VersionCode: 48
#VersionName: 1.7.9

Untitled-1.jpg
 
Upvote 0
The issue has been resolved based on @JordiCP suggestion. As expected if has nothing to do with v8.50 or with AVD Manager.

This thread is a very good example of how not to ask help in this forum. I even had to delete one post that was just too disrespectful towards members who tried to help.
 
Upvote 0
Status
Not open for further replies.
Back
Top