Android Studio provides the SDK and the emulator system image from the latest platform. However, you may want to test your apps on earlier versions of Android.
You can get components for each platform using the Android SDK Manager. In Android Studio, select Tools → Android → SDK Manager. (You will only see the Tools menu if you have a project open. If you have not created a project yet, you can instead access the SDK Manager from the Android Setup Wizard screen. Under the Quick Start section, select Configure → SDK Manager.)
The SDK Manager is shown in Figure 1.
Select and install each version of Android that you want to test with. Note that downloading these components may take a while.
The Android SDK Manager is also how to get Android’s latest releases, like a new platform or an update of the tools.