Android Question Why my B4A App. Doesn't Install on Android 15 ?

amir hosein

Member
Hello Everyone .
I prepared a B4A app. 4 years ago and it ran (runs) on Android 10 .
I bought a New phone with Android 15 and my App. Doesn't install on it .
The libraries which my App. is used are : Dialogs , IME , Javaobject , MLwifi400 , Network ,Phone , PrefrenceActivity , RandomAccessFile , Reflection , ScrollView2D , SQL (Table Module) , StringUtils
I also have a socket_service module in my App.
If there is any recommendation to make an App. under Android 15 , Please let me know .

Thanks for your responses

Regards
 

Peter Simpson

Expert
Licensed User
Longtime User
I bought a New phone with Android 15 and my App. Doesn't install on it .
It's most probably permissions, your may need to use runtime permissions. Press the list permissions button, and post a screenshot of your apps permissions.
 
Upvote 0

jkhazraji

Active Member
Licensed User
Longtime User
XML:
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34"/>
is the point of start.
 
Upvote 0

jkhazraji

Active Member
Licensed User
Longtime User
MLwifi400 → broken on Android 10+ (WiFi SSID, MAC access restricted). You’ll need to replace it with MLWiFi v1.42+ or switch to PhoneEvents + Network libraries.
Phone library → some methods (IMEI, SIM info, etc.) now require READ_PHONE_STATE and in Android 13+ may return blank unless the app is carrier-privileged.
File access → RandomAccessFile and file-based APIs can’t freely use /storage/emulated/0/… anymore. Use RuntimePermissions + FileProvider or store inside App-Specific folders (File.DirInternal or File.DirInternalCache).
Dialogs, IME, JavaObject, Network, Phone, PreferenceActivity, RandomAccessFile, Reflection, ScrollView2D, SQL, StringUtils → still fine with latest B4A.
MLwifi400 → obsolete, needs replacement.
PreferenceActivity → deprecated, but still works if migrated to PreferenceManager.
 
Upvote 0
Top