1 min read

Installing SDK/Android Studio

Installing SDK/Android Studio
Installing SDK/Android Studio

To install Android Studio or the Android SDK, follow these steps:

  1. Download Android Studio from the official Android website (https://developer.android.com/studio).
  2. Run the installer file and follow the on-screen instructions.
  3. During the installation process, you'll be prompted to choose a directory to install Android Studio. Choose a location on your machine where you want to install Android Studio.
  4. After the installation is complete, launch Android Studio and follow the on-screen instructions to complete the setup process.
  5. To install the Android SDK, you'll need to open the Android Studio SDK Manager. You can do this by clicking the SDK Manager button in the welcome screen or by navigating to File > Settings > Appearance & Behavior > System Settings > Android SDK in the Android Studio main menu.
  6. In the Android Studio SDK Manager, select the SDK Platforms tab, then select the packages that you need for the version of Android that you're targeting. You may also need to download the Android Support Library and Google Play services, depending on your project's requirements.
  7. After you've selected the packages that you need, click the Apply button to download and install the selected packages.
  8. Finally, set the ANDROID_HOME environment variable to the installation location of the Android SDK. This is usually done by adding the following line to your system's environment variables:

ANDROID_HOME = C:\Users\<user>\AppData\Local\Android\Sdk (or the location where you installed the Android SDK)

  1. You may also need to add the Android SDK's platform tools and tools directories to your system's PATH variable so that you can run the adb and other Android tools from anywhere in your system.
environment variables
environment variables

And that's it! You have successfully installed Android Studio or the Android SDK on your machine.