Android Question SDK Version

synasir

Member
Licensed User
Longtime User
Hi all, I have been working on this certain app from the start of B4A which will not be published on the Google Play Store. Currently, in my manifest, I have <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="29"/> which is compatible with all my functions and modules. Going to SDK 30 breaks a lot of things and SDK 33 is out of the picture. If I don't publish on the Google Play Store and just do manual installation and permission setting of the APK, will I be okay in the long term or do I still need to go to SDK 33? Thanks.
 

f0raster0

Well-Known Member
Licensed User
Longtime User
Hi all, I have been working on this certain app from the start of B4A which will not be published on the Google Play Store. Currently, in my manifest, I have <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="29"/> which is compatible with all my functions and modules. Going to SDK 30 breaks a lot of things and SDK 33 is out of the picture. If I don't publish on the Google Play Store and just do manual installation and permission setting of the APK, will I be okay in the long term or do I still need to go to SDK 33? Thanks.
The required actions depend on the type of app you have. For instance, I have an app running at a client's location for several years. To the best of my recollection, that app utilizes android:targetSdkVersion="26" or 25 and has not been updated since. (in some point I'll need to update it anyway)

In your situation, if you plan to update your app often, it's advisable to address the updates promptly. Upgrade B4X to the latest version, follow the installation instructions to update the SDK, and ensure that your app is compatible with the most recent version.
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
It depends what you mean by "in the long term", and whether you plan to move the app to newer devices. If you leave your app targetted at an old SDK then it will still run provided that the Android level of the device it is running on still supports that SDK level. I think that for most current devices the cut-off is around Android 4 - I forget the corresponding SDK level. I am still running some apps on Android 4 devices that will not run on my current Android 12 device.
 
Upvote 0
Top