

Now that you’ve installed the SDK, create an emulator for testing and debugging your apps. When the downloads are finished, dismiss the SDK Manager.Relax, and perhaps enjoy a refreshing beverage. Installing the new API versions can take several minutes.

If prompted, confirm your download, then accept the license agreement and click Next. Select API Levels from 24 to 32, then click OK.For Mobile SDK, it’s common practice to add all versions from the minimum API to the target API. In a new Android Studio installation, the SDK Manager shows a check for only the latest API level. (On older Android Studio versions, click Configure to access this menu.) The Android SDK Manager appears. On the Welcome screen, open the configuration menu and click SDK Manager.Mobile SDK 10.0 uses Android Nougat (API 24) as its minimum and Android 12 (API 32) as its target. “Target API level” is the highest API level against which you’ve designed and tested your app.“Minimum API level” is the lowest API level with which your app is compatible.If you want to run a specific version you have to specify the environment variable $JAVA_HOME pointing to the path of the version you want to use.Android apps specify different API levels. However, you can instruct it to use a specific version. Instead, it behaves like a proxy binary by default - it finds the latest installed JDK and uses that when executing. Note: /usr/bin/java is not just a symbolic link to a Virtual Machines /bin/java binary. So starting e.g./gradlew app:assembleRelease from the terminal will use the Java JDK that is currently set. Running java from the terminal runs by default the latest installed version. From time to time you may need a specific version for different projects. If you have read my post about installing and managing updates of your JDK versions with Android Studio you have found an option to install and update the JDK(s) separate from the Android Studio embedded one. Gradle version 7 and above requires JDK version 11 - which is bundled with Android Studio 2020.3.1 Arctic Fox. Manage multiple Java JDK versions on a MacĪs an Android developer, you will most likely have come into contact with Java and its JDK (Java Development Kit).
