Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio} | SCODES

 


How To Download Android SDK using Command line and without android studio?

NOTE: first of all you have to check the Java version. it should be java version 8, if not, then first you have to install Java version 8.

Step 1: you have to download the Command line tool from this URL: https://developer.android.com/studio

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}

Step 2: Now, place the Downloaded "commandlinetools-win-xxxxxxx.zip" and extract it.

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}

Step 3: After extracting the file in the "cmdline-tools" folder you have to create one folder named "tools" and Cut-Paste all files and folders like "bin, lib, NOTICE, and source-properties", in that tools folder.

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}



Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}


Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}


Step 4: Now open the command prompt window in "cmdline-tools\tools\bin" folder.

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}



Step 5: now in cmd, you have to enter this command: 

sdkmanager "platform-tools" "platforms;android-30" "build-tools;30.0.2"

here, you can enter your specific android version or the latest android version. in my case, I entered "android-30" and "build-tools;30.0.2"

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}


Step 6: Enter the above command and wait for the download SDK. During downloading SDK it asks for an accept android license. then just place "Y".

Step 7: In the root folder "commandlinetools-win-xxxxxxx" your android SDK is ready for use.

Step by step Android SDK Manager Download using Command line in Windows 7 / 8 / 10 / 11 {without android Studio}


Post a Comment

Previous Post Next Post