For those using the latest distribution on windows, the following should be enough:
- Download the command line tools from here
- Extract it somewhere (e.g. C:\androidsdk)
- Add ANDROID_SDK_TOOLS as environment variable pointing to where you extracted it (C:\androidsdk)
- Create a folder named latest inside the cmdlime-tools you extracted. And move what's inside(bin,lib...) to the folder latest.
- cd cmdline-tools/latest/bin and execute the following:
sdkmanager.bat system-images;android-29;default;x86_64 platforms;android-29 build-tools;29.0.3 extras;google;m2repository extras;android;m2repository
- Agree to the terms and conditions and continue. voilĂ