You must first accept the agreements using the SDK Manager to be able to use this feature.If you have accepted the license agreements on one workstation, but wish to build your projects on a different one, you can export your licenses by copying over the accepted licenses directory.
Within each platform version, you'll find the following packages: is required in your environment so you're able to compile your application.In order to provide the best user experience on the latest devices, use the latest platform version as your build target.You'll still be able to run your app on older versions, but you must build against the latest version in order to use new features when running on devices with the latest version of Android. The system image is required in order to run the Android Emulator.The above list is not comprehensive and you can add other sites to download additional packages from third parties.In some cases, an SDK package may require a specific minimum revision of another tool.
Search for how updating:
For more information see, Configuring Gradle Builds.