Android Question [SOLVED] App not installed as app isn't compatible with your phone.

aeric

Expert
Licensed User
Longtime User

User phone auto updated to Android 14 and cannot install the app.
Current targetSDK = 18.
If I change the targetSDK, I afraid some features will no longer working.
What should I do?
 

aeric

Expert
Licensed User
Longtime User
I am trying to simulate it with an emulator on Android 14.

B4X:
Copying libraries resources    (1.84s)
ZipAlign file.    (0.11s)
Signing package file (private key).    (1.95s)
Installing file to device.    Error
adb: failed to install APPNAME_RAPID_DEBUG.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 18]


Changing the targetSdkVersion to 23 works.

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="6" android:targetSdkVersion="23"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
 
Upvote 0

idrotelapp

Member
Licensed User
I had the same problem with android 14 andthe app could not be installed after changing to sdk 26 the problem about installing is solved but I Can not read and write the external storage . I added the permission in manifest but it doesn't work . PLEASE help me
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…