Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Android SDK versions - how many to use

Discussion in 'Android' started by cxgrebe, Oct 24, 2019.

  1. cxgrebe

    cxgrebe

    Joined:
    May 20, 2019
    Posts:
    4
    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
     
  2. MonkeyDevD

    MonkeyDevD

    Joined:
    Feb 28, 2018
    Posts:
    13
    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"
     
    cxgrebe likes this.
  3. cxgrebe

    cxgrebe

    Joined:
    May 20, 2019
    Posts:
    4
    Thanks Duncan.