MinSDK VS TargetSDK

Hello community, I’ve got a question I hope someone can help me understand this.

Last friday I uploaded an app with API 28 as min sdk
image

I understand that in my cellphone (Android 8.1) I will not be able to use it, But if I upload an min sdk version below API 29 (as of 3rd august) PlayStore will reject it. So I am trying to understand this:

If I choose minsdk API 19 -> It will be usable in API 19,20,21,22,23,24,25,26,27,28,29 (But will PlayStore policy allow me to upload an App with min sdk19? Because August 3rd the min version is API 29. So Im trying to figure it out if only latest cellphones will be the only ones to use latest apps.)

Or how does it work?

Yes

You have misunderstood it, it should be target…

https://developer.android.com/distribute/best-practices/develop/target-sdk

Target is set by the server when you build your app and you can’t control it either

1 Like

That was what I was scared of!!! Thank god. So to sum up in easy words: Google wants API 29 to be included in the target, but they re not requiring us API 29 to be the min SDK - And the way the API 29 is targeted is vía Kodular servers, so we shouldn’t care about that. If we want to be usable in all phones we should leave the min sdk as API 19, and the server will build it with targets for all APIs. Am I correct?

Refer to this

And

I would like to add that some extensions or components require a minsdk to function. Based on this you must configure your minsdk inside your Kodular Creator.
For example
Youtube Player component Requires API 17
https://docs.kodular.io/components/google/youtube-player/
or
ExoPlayer component Requires API 19
https://docs.kodular.io/components/media/exoplayer/

1 Like

Thanks Lea, that’s very useful!!! :argentina: :grin:

1 Like

No need for that, if you set min 19 and component/extension require 21, it will build as min 21…

2 Likes

Thanks @Boban for the info i thinks this are necesary to set min to component works.
Where i can read that info I want to know ?
I’m sure not many users know this …

See here:
image

Learn more: App Inventor Annotations - مستندات Google

3 Likes

Thanks you so much help is appreciated !!! :+1: