NOTE: You must have the Java JDK installed before installing Android Studio. If you need help installing the Java JDK, visit our JDK tutorial.

Step 1: In a web browser, navigate to: http://developer.android.com/index.html

Step 2: At the top of the webpage, click on the “Develop” link.

Develop

Step 3: Click the “Tools” link, which should appear right under “Develop.”

tools

Step 4: Near the bottom of the screen, select the link “Get Android Studio Beta.”

get android studio beta

Step 5: Now, click on the button “Download Android Studio Beta.”

download

Step 6: Accept the terms and conditions and download the installer.

accept terms

Step 7: When the installer is done downloading, launch it.

launch installer

Step 8: Follow the Android Studio Setup Wizard instructions.

follow instructions

Step 9: When the install is finished, select the check box “Start Android Studio” and click “Finish.”

finish install

Step 10: If you get an error message that says that the JVM was not found, don’t panic. We will be fixing this problem in the next few steps. If you do not get this error, skip to step 17.

error message

Step 11: Close out of the error message. Click the “Start” button on the bottom left of your screen, and then select “Computer” from the right-hand side of the menu.

fix error

Step 12: In the dialog box that opened, click on “System properties.”

Step 13: Click on “Advanced system settings” on the left.

advanced system settings

Step 14: Click on “Environment Variables” button.

Environment Variables

Step 15: At the bottom of the “Environment Variables” window, click on the button “New…”

New

Step 16: In the text box labeled “Variable name,” type in “JAVA_HOME”. Then in the text box labeled “Variable value” type in “C:\Program Files\Java\jdk1.8.0_05”, where “1.8.0_05” is your current Java version.

variable java home

Step 17: Now you can close all previous windows and start up Android Studio.

Step 18: When Android Studio is finished loading you will see the welcome page. Select “New Project…” from the Quick Start menu.

New Project

Step 19: Press the “Next” button. In the new window, change the minimum SDK level to “API 10” and then continuously select the “Next” button. When the “Finish” button appears, click on it.

Minimum SDK

Finish

Step 20: Now a new window will pop up with a template app that displays “hello world.”

HelloWorld

Step 21: At the bottom of the window select the “Design” tab.

Design

Step 22: In the toolbar labeled “palette,” select a button under the “widget” section and drag it on the phone.

Widget

Step 23: Now you can run this app on an Android Virtual Device. In the toolbar at the top, you will see a green play button. Select it. In the window that appears, select “Launch emulator” and then press the button labeled “…”

Launch Emulator

Step 24: Now the Android Virtual Device Manager should show. On the right side, select the “Create” button.

Create

Step 25: In the new window, enter in values to the appropriate fields so that your screen matches the image below. Then select “OK.”

Step 26: On the previous screen, select the new Virtual Device you just created and hit “Start.” Hit “Start” on the next screen to initialize the Virtual Device.

Start Emulator

Step 27: Now the Virtual Device should start up. It is notoriously slow, so give it some time to warm up. When it gets to the Android Home screen, move on to the next step.

Virtual Device

Step 28: Exit out of the Android Virtual Device Manager and it should return you to the previous window labeled “Choose Device.” In this window, select “Choose a running device,” then hit “OK.” Now your app will be executed on the Android Virtual Device. Click on the button and watch it respond. (Nothing will happen when the button is clicked—you can add that functionality later.)

Choose a Running Device
Congratulations, you have successfully installed Android Studio and run your first Android application! You are now one step closer to releasing your app in the Android App Store.

By Maxwell Lemkin

Leave a Reply

Your email address will not be published. Required fields are marked *