this post was submitted on 13 Jul 2024
199 points (96.3% liked)
Open Source
31267 readers
353 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
minSdk isn't the same as targetSdk or maxSdk.
You can target Android 14 and still support Android 1.5 devices if you really want to. Android will enforce that you use Android 14's security features, but you can still use the old APIs just fine on older versions of Android.
Android uses the target SDK to determine which restrictions to impose, because if you target Android 8 then your app can't be aware of Android 14 features so it goes into compatibility mode. But the minimum SDK doesn't matter, it's just there to tell users of too old Android versions that the app can't run.