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?

B4X:
<uses-sdk android: minSdkVersion = "19" android: targetSdkVersion = "26" />
 

Mr Blue Sky

Active Member
Licensed User
Longtime User
Did you install the apk file directly on a device?

If this is working, there must be an issue with what you configured in the console.

If it isn't working, create a small demo project. We will check it.
 

Attachments

  • RPMmeter.zip
    294.5 KB · Views: 173
Upvote 0

Mr Blue Sky

Active Member
Licensed User
Longtime User
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"/>

 
Upvote 0

Mr Blue Sky

Active Member
Licensed User
Longtime User
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

Mr Blue Sky

Active Member
Licensed User
Longtime User
B4X:
'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

Erel

B4X founder
Staff member
Licensed User
Longtime User
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:
B4X:
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:
B4X:
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

JordiCP

Expert
Licensed User
Longtime User
Besides the above, I think that there is a really suspicious thing in the manifest

B4X:
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

Mr Blue Sky

Active Member
Licensed User
Longtime User

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

Attachments

  • AndroidManifest.xml
    5.4 KB · Views: 224
Upvote 0

Mr Blue Sky

Active Member
Licensed User
Longtime User
thank i change already, send to google market and wait it update
#VersionCode: 48
#VersionName: 1.7.9

 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…