How to Install and Setup Android Studio in Windows

Android Studio is the official IDE (Integrated Development Environment) for Android app development and it is based on JetBrains' IntelliJ IDEA software. Android Studio offers many great features that help improve productivity when building Android apps.

Due to its many configuration steps, Android Studio can be difficult to set up if you are a new developer. In today's article, Quantrimang.com will guide you how to install Android Studio on Windows and create a sample application.

How to Download and Install Java JDK

Before installing Android Studio, you first need to install Java JDK and set up Java environment to start working with it.

Java Development Kit (JDK) is a required development package for creating Java-based applications. It also includes tools for developers to test applications coded in Java.

Follow these steps to download the latest version of Java JDK for Windows and set it up:

1. Go to the official Oracle Java Downloads page .

2. Select the latest Java JDK version and download the x64 MSI Installer in the Windows tab.

How to Install and Setup Android Studio in Windows
Java JDK Download Page

3. Open the file you just downloaded from the Downloads folder.

4. Follow the on-screen instructions to install the latest Java JDK.

Now that you have successfully installed JDK, you need to set up your Java environment so that Android Studio can easily find the location of Java on your desktop.

Setting up Java environment

Here are the steps you need to follow to set up your Java environment:

1. Open Windows search and type "Edit environment variables" .

2. Press Enter to open the Environment Variables window .

3. Now, in the System variables section , click Path > Edit > New.

How to Install and Setup Android Studio in Windows
Edit system variable options

4. Copy the path of the folder containing the installed JDK binaries. For example, in this case, the path is C:\Program Files\Java\jdk-18.0.1.1\bin .

5. Switch to the Environment variables window , paste the path you copied and save the changes.

6. Next, in the User Variables section , click New.

7. Add PATH_HOME to the variable name box and C:\Program Files\Java\jdk-18.0.1.1 to the variable value box.

8. Finally, save the changes by clicking OK.

Don't forget to replace JDK version with the version you are using. In the example case, version jdk-18.0.1.1 is used.

Generally, you don't need to reconfigure any environment variables if you've already done so. But if this is your first time, setting the variables will help you avoid Java-based errors during compilation.

How to Install Android Studio on Windows

Follow these steps to download and install Android Studio for Windows:

1. Download Android Studio.

2. Now, open the downloaded file to install Android Studio.

3. Click Next to continue installing Android Studio.

How to Install and Setup Android Studio in Windows
Android Studio Installer

4. Also, click Install and wait while Android Studio is installed on your PC.

5. Once done, click Finish to close the installer and launch Android Studio.

6. Android Studio will now ask you to enter settings. Click OK to continue setting up Android Studio.

You should use SSD storage when working with Android Studio for better performance and faster processing. If you want to know more about the reasons, Quantrimang.com has explained why SSD is better than HDD .

If the installer crashes or closes with random error codes, it is likely that your PC does not meet the minimum system requirements. For this, you have to check the requirements mentioned below once.

System requirements for Android Studio on Windows

Your PC must meet the following requirements to run Android Studio efficiently:

  • Microsoft Windows 8/10/11 64-bit operating system.
  • Minimum screen resolution 1280 x 800.
  • x86_64 CPU architecture; 2nd generation Intel Core or newer; or AMD CPU with Hypervisor support.
  • 8GB RAM or more.
  • 12GB of free disk space required (IDE + Android SDK + Android Emulator ).

If you're unsure about your PC's specs, check out our guide on how to check your PC's hardware specs .

If your PC is too old or does not meet the above requirements, you will not be able to install the program properly. And therefore, it will be a waste of time for you to continue with the next steps.

How to Setup Android Studio on Windows

While you have installed Android Studio on your Windows PC, to create a new project you will have to configure the Setup Wizard. The Setup Wizard will help you create a development environment for your future projects.

Follow these steps to set up Android Studio:

1. In the Setup Wizard window , select the Standard option to apply the recommended settings and click Next.

2. Next, select a theme you want and click Next again to verify the settings you have configured.

3. On the next screen, select Accept and click Finish to apply the changes.

How to Install and Setup Android Studio in Windows
Android Studio Setup Wizard

4. Wait until the Setup Wizard downloads some necessary files. This may take about 15 to 30 minutes, depending on your network speed.

5. Once the download is complete, click Finish to complete the setup process.

If the download is not progressing, it is either due to high CPU usage or the download is interrupted. This is why you should close all programs that may be using the Internet or are still running in the background.

To fix this issue, you should read the article on how to fix high CPU usage in Windows . Also, if you are facing slow download issues - check out some effective ways to check Internet throttling in Windows .

How to create a new test project in Android Studio

Now that you have Android Studio set up and configured, follow these steps to run a test project from scratch:

1. Open Android Studio and click New Project.

How to Install and Setup Android Studio in Windows
Click New Project

2. Select the Basic Activity option and click Next to continue.

3. On the next screen, enter a name for your app and select a language (e.g. Java).

4. Next, select the minimum SDK for your app. The minimum SDK determines the minimum Android version required to run your test app.

5. Once done, click Finish to create a new test project.

6. Finally, click Allow access on the next screen to allow ADB to access your public network.

7. That's it! You can now make changes to your test project and build your Android app.

How to Install and Setup Android Studio in Windows
Make changes to the test project

The first test project takes about 10-15 minutes to load all the files and sync the project using Gradle (a build automation tool). Once complete, you can interact with the app's project structure and see different operations in Android Studio.

After making changes to your project, you have several different options for running your test application:

  • Device Manager: You can create a new emulator from the device manager and run your application on it. However, the emulator consumes a lot of resources, so you should not use this option if you are using a low-end PC.
  • Pair Devices Using Wi-Fi: You can also run the test app on your Android smartphone. The only condition here is that your smartphone and PC must be connected to the same WiFi network.
  • ADB Connection: Finally, you can use a USB cable and enable USB Debugging on your phone to run the app via ADB connection.

Without a doubt, Android Studio is a powerful app development software. The biggest advantage is that you are not limited to just Android apps. With Android Studio, you can create apps for tablets, watch faces for Wear OS, and even apps for your Android TV.

Moreover, Android apps are developed in Java (or Kotin) and are XML based. So if you are new to app development, you should enroll in some app development courses.

Sign up and earn $1000 a day ⋙

Leave a Comment

Instructions pour modifier la taille des icônes dans la barre des tâches de Windows 11

Instructions pour modifier la taille des icônes dans la barre des tâches de Windows 11

Les utilisateurs peuvent ajuster et modifier la taille des icônes de la barre des tâches pour qu'elles soient plus petites ou plus grandes, en fonction des besoins de chacun.

Comment corriger lerreur de recherche Windows 10 : impossible de rechercher, ne fonctionne pas

Comment corriger lerreur de recherche Windows 10 : impossible de rechercher, ne fonctionne pas

Lorsque l’outil de recherche sur Windows 10 échoue, les utilisateurs ne peuvent pas rechercher les programmes ou les données dont ils ont besoin.

Comment activer la recherche de fichiers de stockage cloud sur Windows 11

Comment activer la recherche de fichiers de stockage cloud sur Windows 11

La recherche sur Windows 11 extrait les résultats non seulement des fichiers et des applications sur votre ordinateur, mais également du stockage cloud lié à votre compte Microsoft.

Comment changer le mot de passe Wi-Fi, changer le mot de passe Wi-Fi VNPT, FPT, Tenda, TP-Link, Viettel sur ordinateur, téléphone

Comment changer le mot de passe Wi-Fi, changer le mot de passe Wi-Fi VNPT, FPT, Tenda, TP-Link, Viettel sur ordinateur, téléphone

Changer votre mot de passe Wi-Fi en caractères spéciaux et complexes est une façon de protéger le Wi-Fi de votre famille contre toute utilisation illégale, affectant ainsi la vitesse du Wi-Fi de votre famille.

Comment ouvrir le Panneau de configuration sous Windows 11

Comment ouvrir le Panneau de configuration sous Windows 11

Le Panneau de configuration joue toujours un rôle essentiel dans de nombreuses tâches de configuration nécessaires sur votre nouveau système d'exploitation. Voici quelques façons d'y accéder sous Windows 11.

Correction de lerreur empêchant linstallation de .NET Framework 3.5 sous Windows

Correction de lerreur empêchant linstallation de .NET Framework 3.5 sous Windows

.NET Framework de Microsoft est une plateforme de programmation qui comprend des bibliothèques de programmation pouvant être installées ou déjà incluses dans les systèmes d'exploitation Windows. Dans certains cas, votre ordinateur ne peut pas installer ce logiciel. Suivez donc la solution décrite dans l'article ci-dessous.

3 outils dont vous avez besoin pour supprimer le suivi de Windows 11

3 outils dont vous avez besoin pour supprimer le suivi de Windows 11

Ne vous fiez pas entièrement aux paramètres par défaut en matière de confidentialité. Windows 11 ne fait pas exception, car il dépasse souvent ses limites en matière de collecte de données.

Comment télécharger Windows 10, télécharger le fichier ISO Windows 10 depuis Microsoft

Comment télécharger Windows 10, télécharger le fichier ISO Windows 10 depuis Microsoft

Lorsque vous téléchargez Windows 10 depuis Microsoft, vous téléchargez Windows 10 sous forme de fichier ISO. Ce fichier ISO vous permet de créer une clé USB bootable, une clé USB d'installation Windows ou un ordinateur fantôme. Voyons comment télécharger Windows 10 !

Comment réinitialiser la connexion Ethernet sous Windows 11

Comment réinitialiser la connexion Ethernet sous Windows 11

Un moyen rapide de résoudre les problèmes de réseau filaire les plus courants est de réinitialiser votre connexion Ethernet. Voici les étapes pour réinitialiser votre connexion Ethernet sous Windows 11.

Comment ajouter des exceptions dans Windows Defender sur Windows 10

Comment ajouter des exceptions dans Windows Defender sur Windows 10

Windows Defender est intégré à Windows 10 pour détecter les logiciels malveillants. Pour améliorer les performances de tâches telles que la compilation de code ou l'exécution de machines virtuelles, vous pouvez ajouter des exceptions afin que Windows Defender n'analyse jamais ces fichiers.

Instructions pour activer les machines virtuelles sous Windows 11

Instructions pour activer les machines virtuelles sous Windows 11

La machine virtuelle sur Windows 11 permettra aux utilisateurs d’exécuter un système d’exploitation autre que Windows directement sur votre ordinateur.

Les outils de sécurité intégrés de Windows 11 ne peuvent pas vous protéger contre ces menaces

Les outils de sécurité intégrés de Windows 11 ne peuvent pas vous protéger contre ces menaces

Aujourd'hui, Windows protège bien mieux votre sécurité qu'auparavant, mais la sécurité Windows et ses outils associés ne sont pas encore parfaits. Vous devez rester vigilant face aux menaces pour lesquelles la sécurité informatique n'a pas de solution.

Les pilotes obsolètes ralentissent votre PC Windows : que faire ?

Les pilotes obsolètes ralentissent votre PC Windows : que faire ?

Les PC Windows peuvent parfois sembler lents, mais le Gestionnaire des tâches n'affiche rien de suspect. À ce stade, la plupart des utilisateurs recherchent des logiciels malveillants ou des problèmes de stockage, mais des pilotes obsolètes peuvent également entraîner des problèmes de performances.

Comment réparer un ordinateur portable qui ne se connecte pas au WiFi, réparer un ordinateur portable qui ne reçoit pas le WiFi

Comment réparer un ordinateur portable qui ne se connecte pas au WiFi, réparer un ordinateur portable qui ne reçoit pas le WiFi

Il existe de nombreuses raisons pour lesquelles votre ordinateur portable ne peut pas se connecter au Wi-Fi, et il existe donc plusieurs solutions pour résoudre ce problème. Si votre ordinateur portable ne parvient pas à se connecter au Wi-Fi, vous pouvez essayer les solutions suivantes.

8 fonctionnalités PowerToys que Microsoft devrait inclure par défaut dans Windows 11

8 fonctionnalités PowerToys que Microsoft devrait inclure par défaut dans Windows 11

Certaines fonctionnalités de PowerToys fonctionnent si bien que vous oublierez qu'elles n'ont pas toujours fait partie de Windows.