Android Question App cannot be installed on Android 14

Tom_V

New Member
Hello ;)
My app cannot be installed on Android 14.
Error messages:
1) This app was develeoped for older systems
2) This app is not compatible with your device
I tried everything, changed the manifest (Target SDK version 34), did implement the runtime permissions, permissions bluetooth....
Who can help me? I can also send the complete project and I can pay for solving this issue. I need this app working ASAP!
THANK YOU VERY MUCH IN ADVANCE!
 

Tom_V

New Member
Hi Erel, this is the Manifest editor code:

AddManifestText(
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)

SetApplicationAttribute(android:minSdkVersion, "23")
SetApplicationAttribute(android:targetSdkVersion, "34")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:usesCleartextTraffic, "true")

AddPermission(android.permission.INTERNET)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.BLUETOOTH)
AddPermission(android.permission.BLUETOOTH_ADMIN)
AddPermission(android.permission.BLUETOOTH_ADVERTISE)
AddPermission(android.permission.BLUETOOTH_CONNECT)
AddPermission(android.permission.BLUETOOTH_SCAN)
AddPermission(com.google.android.providers.gsf.permission.READ_GSERVICES)

' Optional: Medien-Zugriff (Android 13+)
AddPermission(android.permission.READ_MEDIA_IMAGES)
AddPermission(android.permission.READ_MEDIA_VIDEO)
AddPermission(android.permission.READ_MEDIA_AUDIO)

' Für ältere Geräte (optional, bis Android 9)
AddPermission(android.permission.READ_EXTERNAL_STORAGE)
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)

AddManifestText(
<permission android:name="$PACKAGE$.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>
)

AddApplicationText(
<meta-data android:name="com.google.android.geo.API_KEY" android:value="AIzaSyBoiTRPe4sHKGrt4mmu01_cAE3yjb277m0"/>
<uses-library android:name="org.apache.http.legacy" android:required="false" />
)

AddReceiverText(s2,
<intent-filter>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
</intent-filter>)
 
Upvote 0

teddybear

Well-Known Member
Licensed User
SetApplicationAttribute(android:minSdkVersion, "23")
SetApplicationAttribute(android:targetSdkVersion, "34")
Try to comment the 2lines and then add this
B4X:
'SetApplicationAttribute(android:minSdkVersion, "23")
'SetApplicationAttribute(android:targetSdkVersion, "34")
AddManifestText(<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="34"/>)
 
Upvote 1
Top