Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Android api level requirement is minsdkversion 29 allowed

Can someone clarify this for me. In the android manifest file I have

uses-sdk android:minSdkVersion="29" android:targetSdkVersion="33"

Reading the google documentation https://developer.android.com/google/play/requirements/target-sdk

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

What is not clear to me is

Starting in January 2023, app updates must target Android 12

Am I correct in thinking that because I have "targetSdkVersion=33" I will be fine?

What role that minSDKVersion have in relation if is accepted by google? Should minSDKVersion be 31 or I am allowed to put there 29?

Hope makes sense

>Solution :

First of all, your app will be accpeted by the Goolge Play Store because your target sdk is heigher than Api 31. And then about the minSDKVersion, the official document’s explain:

An integer designating the minimum API Level required for the application to run. The Android system will prevent the user from installing the application if the system’s API Level is lower than the value specified in this attribute. You should always declare this attribute.

Google doesn’t have a request for this attribute. And the android official document said:

If you do not declare this attribute, the system assumes a default value of "1", which indicates that your application is compatible with all versions of Android.

So if your application is compatible with the lower versions, such as it can run well on the Android 10 or lower, you can set it as 29.

For more information, you can check the official document about the uses-sdk attributes.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading