Search code examples
androidandroid-studioandroid-sdk-tools

How to install Android SDK on windows


I have recently installed Android Studio. In the initialization of the app, it said "Android SDK is missing" so I proceeded to download the command line only version from https://developer.android.com/studio.

I tried running the android.bat file but it did not open, I am using JDK 12.0.1 and I have also tried adding java\bin to the PATH but it still doesn't work. It simply opens a cmd window and then closes it.


Solution

  • You can find the command line tools at the downloads page under the "Command line tools only" section.

    The installer version for windows doesn't seem to be available any longer, this is the link for version 24.4.1:

    Windows installer: [https://dl.google.com/android/installer_r24.4.1-windows.exe]