android studio install sdk code example
Example 1: install android sdk
Android SDK is bundled with Android Studio
(this is the easiest way to install and use the SDK)
https://developer.android.com/studio
Or you can install it seperately
https://developer.android.com/studio#command-tools
Example 2: android studio sdk
After the installation, immediately close Android Studio,then start it as administrator.
A message might popup asking for the sdk manager location.
Ignore it (Close the popup).
Go to Tools > SDK Manager and click on the edit button on the right of Android SDK Location.
Then click Next, next and you're good to go.
Android Studio will let you install the sdk manager.