this post was submitted on 18 Dec 2024
3 points (100.0% liked)

Android Development

556 readers
4 users here now

Welcome to the programming.dev Android development community!

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

founded 2 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/22983650

I know that Android 14 requires targetSdkVersion >= 23 (or higher on the Play Store), but are there other minimums for this and minSdkVersion?

top 6 comments
sorted by: hot top controversial new old
[–] Mihies 1 points 20 hours ago (1 children)
[–] 0x0 1 points 19 hours ago (1 children)

That's for GooglePlay and the only mention of minimum requirements for targetSdk is for Android 14.

[–] Mihies 1 points 3 hours ago (1 children)

Your app should target the latest SDK, i.e. Android 14 requires 34, not 23 (did you mean minSdkVersion perhaps)? I don't think there are restrictions on minSdkVersion. Basically, quickly after a new Android OS is released, you need to target it.

[–] 0x0 1 points 2 hours ago (1 children)

I'll make sure to tell that to my customers running Android 4.

[–] Mihies 1 points 2 hours ago* (last edited 2 hours ago) (1 children)

Now, I'm confused even more. Android 4? Did you mean 14? TargetSdk doesn't mean you support only that OS version, but that your app is built for that version. You can support whatever older versions you wish, there are no constraints.

[–] 0x0 1 points 1 hour ago

Current min is 4 current target is 5, 14 requires target 6, guess i can start there.
The question was about enforced minimums throughout versions, i guess only 14 has that requirement.