android sdk is missing in android studio code example
Example: android stdio doesnt come with the sdk
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.