Android SDK versions - how many to use

I’m trying to make my first Android app and I have a question about the SDK Manager in Android Studio. (Just FYI, I’m using this because I can’t get my Unity Hub to download the Android SDK.)

I would like my app to run on phones using versions of Android from “KitKat” (4.4) to “Pie” (9.0), if possible. To do this, do I include both of those SDKs and all the SDKs in-between, or do I just include the top one, i.e. “Pie”?

I’m referring to the section in the SDK Manager under System Settings/Android SDK/SDK Platforms.

Thanks for any help you can offer. I’ve searched the documentation for Android Studio and can’t find the answer to how to do this.

Many thanks,
Charles

You only need the highest one as a target, the rest is handled through backwards compatibility.
So if you are targeting SDK 28, you don’t need any of the lower ones.

Just the top one “Pie”

1 Like

Thanks Duncan.