


How to Install Android Studio and SDK Tools in Windows - Make Tech Easier
May 23, 2025 am 12:48 AMThe Android SDK (Software Development Kit) is a comprehensive and potent tool essential for anyone venturing into Android app development. It also supports other functionalities, such as using the command line to sideload apps onto your Android device.
There are several considerations when installing the Android SDK on a Windows PC. This guide will assist you through the process.
Table of Contents
- Install the Latest Version of Java
- Install SDK Command Line
- Getting Started With SDK Command Line
- Install Android Studio
- Frequently Asked Questions
Also read: How to Install Google Play Store on Windows 11
Install the Latest Version of Java
If you prefer the Android SDK command line version over Android Studio, you'll first need to download and install Java.
- Navigate to the official Java Downloads page and select the "Windows" tab.
- Choose and download the "x64 MSI Installer."
- Proceed to install the latest Java version on your PC. You can locate it in C:\Program Files\Java\jdk-18.0.1.1 (or the version you install, such as 18.0.1.1).
Also read: How to Access an Android Phone With a Broken Screen
Install SDK Command Line
Android Studio is a large application, and while its UI makes managing development tools and packages very user-friendly, some prefer the command-line approach.
- On the Android Studio download page, opt for the "Command line tools only" under the Windows section.
- The SDK tool package will download as a .zip file. Extract it to find a "cmdline-tools" folder within.
- Create an "Android" folder in your C: drive.
- Inside the Android folder, create another "cmdline-tools" folder, and within that, a "tools" folder.
- Transfer the contents of the extracted file into the "Tools" folder.
Also read: How to Install Windows from Android
Getting Started With SDK Command Line
- Open Command Prompt as Administrator.
- Navigate to the "bin" folder using:
<code>cd C:\Android\cmdline-tools\tools\bin</code>
- Enter the following command to view installed, valid, and updatable packages:
<code>sdkmanager --list</code>
- To install platform tools, use:
<code>sdkmanager "platform-tools" "platforms;android-33"</code>
After installation, a new "platform-tools" folder will appear in the "Android" folder, containing adb.exe, fastboot.exe, and other executables.
This setup grants access to adb and fastboot commands, useful for sideloading and exploring recovery options on Android.
Also read: How to Share Files Between Android and Windows on Your Network
Install Android Studio
For those preferring the modern features and user interface of Android Studio, the installation is straightforward.
- On the Android Studio download page, click "Download Android Studio" and follow the prompts. Keep in mind a few key points during installation.
- You'll be offered the option to install Android Virtual Device, which emulates an environment for testing features and apps. Decide if you want to proceed with this option (you can opt-in later if you skip it now).
- Choose your installation directory, and Android Studio will begin the installation process, which might take some time depending on your hardware.
- Once installed, launch Android Studio. It will prompt you about importing existing settings.
- Continue through the setup wizard, selecting "Custom" if you wish to install specific components.
- If required for your projects, point Android Studio to your Java directory, such as "C:\Program Files\Java\jdk-18.0.1.1".
- Choose your theme and additional components. We suggest enabling the "Performance" option for better Android emulation and selecting Android Virtual Device if it suits your needs.
Also read: 10 of the Best Android Emulators for Your Desktop
- Continue clicking "Next" until you reach "Finish."
- Once fully installed, launch Android Studio and start exploring.
- Click "Create New Project" to explore the array of available templates.
- Or select "More Actions" from the main screen.
- This will reveal a menu with options such as SDK Manager and Virtual Device Manager. Below is a glimpse of the SDK Manager.
Also read: 8 Ways to Run Android Apps in Windows
Frequently Asked Questions
How can I verify my current Java version?
You may not need to install the latest Java version before setting up your command line tools. To check your Java version, simply enter the following command in Command Prompt: java -version. This will display your current version.
I'm encountering an "sdkmanager is not recognized as an internal or external command, operable program or batch file" error. How can I resolve it?
You should revisit the section of the tutorial on setting up environmental variables. Ensure you've followed the steps for unzipping the command-line tool correctly. Verify that you've copied the correct path from the source folder and pasted it into the appropriate location.
My Android Studio download is stuck. What can I do?
If your download is freezing, it could be due to high CPU usage or internet connectivity issues, which might interrupt the download. To address internet issues, close all running programs/apps to free up bandwidth. For high CPU usage, here are some solutions to help you resolve the problem.
Image credit: Zain Ali via Pexels
The above is the detailed content of How to Install Android Studio and SDK Tools in Windows - Make Tech Easier. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

If you're having trouble reading your desktop icons' text or simply want to personalize your desktop look, you may be looking for a way to change the font color on desktop icons in Windows 11. Unfortunately, Windows 11 doesn't offer an easy built-in

Fixed Windows 11 Google Chrome not opening Google Chrome is the most popular browser right now, but even it sometimes requires help to open on Windows. Then follow the on-screen instructions to complete the process. After completing the above steps, launch Google Chrome again to see if it works properly now. 5. Delete Chrome User Profile If you are still having problems, it may be time to delete Chrome User Profile. This will delete all your personal information, so be sure to back up all relevant data. Typically, you delete the Chrome user profile through the browser itself. But given that you can't open it, here's another way: Turn on Windo

When Windows cannot detect a second monitor, first check whether the physical connection is normal, including power supply, cable plug-in and interface compatibility, and try to replace the cable or adapter; secondly, update or reinstall the graphics card driver through the Device Manager, and roll back the driver version if necessary; then manually click "Detection" in the display settings to identify the monitor to confirm whether it is correctly identified by the system; finally check whether the monitor input source is switched to the corresponding interface, and confirm whether the graphics card output port connected to the cable is correct. Following the above steps to check in turn, most dual-screen recognition problems can usually be solved.

Have problems uploading files in Google Chrome? This may be annoying, right? Whether you are attaching documents to emails, sharing images on social media, or submitting important files for work or school, a smooth file upload process is crucial. So, it can be frustrating if your file uploads continue to fail in Chrome on Windows PC. If you're not ready to give up your favorite browser, here are some tips for fixes that can't upload files on Windows Google Chrome 1. Start with Universal Repair Before we learn about any advanced troubleshooting tips, it's best to try some of the basic solutions mentioned below. Troubleshooting Internet connection issues: Internet connection

Mini PCs have undergone

When encountering the problem of printing task stuck, clearing the print queue and restarting the PrintSpooler service is an effective solution. First, open the "Device and Printer" interface to find the corresponding printer, right-click the task and select "Cancel" to clear a single task, or click "Cancel all documents" to clear the queue at one time; if the queue is inaccessible, press Win R to enter services.msc to open the service list, find "PrintSpooler" and stop it before starting the service. If necessary, you can manually delete the residual files under the C:\Windows\System32\spool\PRINTERS path to completely solve the problem.

To run command prompts as administrator, the most direct way is to search through the Start menu and right-click "Run as administrator"; secondly, use the Win X shortcut menu to select "Command Prompt (Administrator)" or "Windows Terminal (Administrator)"; you can also open the run window through Win R and enter cmd and press Ctrl Shift Enter to force running as administrator; in addition, you can set shortcut properties to achieve automatic running as administrator. All the above methods require administrator permission and confirmation through UAC. Pay attention to security risks during operation.
