Tutorials Android Installing Android Studio

Installing Android Studio

Android Studio IDE

Android Studio is an IDE based on IntelliJ IDEA used for android application development. It is released on 15th may 2013. This tool has more options for Android Development, making the process faster and more productive. A “live layout” was shown that renders your app as you’re editing in real-time. In this tutorial you can learn steps for Installing Android Studio.
Know more about android studio features from Android Studio Features.

[box style=”2″] Android Studio is currently available as an early access preview. Several features are either incomplete or not yet implemented and you may encounter bugs. If you are not comfortable using an unfinished product, you may want to instead download (or continue to use) the ADT Bundle (Eclipse with the ADT Plug-in). [/box]

Installing Android Studio

android-studio-viewing-layout_builder

Some Common Problems

1. ERROR: cannot start Android Studio

ERROR: cannot start Android Studio. No JDK found. Please validate either ANDROID_STUDIO_JDK, or JDK_HOME or JAVA_HOME points to valid JDK installation. ECHO is off. Press any key to continue

It is a known issue with android studio. On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location. Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables, add new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21. setting up java path

2.Android SDK is out of date or is missing templates

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

This may happen because you already have your SDK installation up for Android Developers Bundle with eclipse. First open your SDK manager in the ADT Bundle and update you Android SDK Tools from 21.1 to 22 and then open your Android Studio. For windows user the tools and other SDK packages are saved with the Android Studio application directory. Windows:

\Users\AppData\Local\Android\android-studio\sdk\ Mac: /Applications/Android\ Studio.app/sdk/ Make sure your android-sdk-path is correct and the sdk tool version is 22 or later. Once android studio started, open the Configure > Project Defaults > Project Structure, set your project sdk is Android SDK. Then select SDK tab and select build target (eg: Android 4.2.2). Now  you should be good to start.

Total
0
Shares
guest
61 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
user
user
9 years ago

Configuring Gradle Locally:
-> Go to Gradle
-> Download last version
-> Open grandle location within Android Studio (in my case is: C:\Program Files (x86)\Android\android-studio\plugins\gradle”
-> Open download file from 2.
-> Override lib folder within Android Studio with lib folder within downloaded file.
-> Now everything should work like a charm 🙂

Mattias
Mattias
9 years ago

Thank You! The JAVA_HOME and PATH system variables helped me get it started.

Mohak
Mohak
8 years ago

Thanks, for people having java sdk already installed, just set the location to jdk7, it will work

José Antonio
José Antonio
8 years ago

Obrigado. =)

Rizwan
Rizwan
8 years ago

thanks my dear

Abid Hussain
Abid Hussain
8 years ago

Thankzzzzzzzzzzz man saved ma life

Ed Poor
Ed Poor
8 years ago

I have the same problem, and I have two guesses:
1. I’m guessing that “x86” refers to a 32-bit version of Java.
2. I’m guessing that Android Studio requires 64-bit Java

javatechig
javatechig
8 years ago
Reply to  Ed Poor

If your system is 64 bit than yes

Ed Poor
Ed Poor
8 years ago

x86 means 32-bit

x64 means 64-bit

I went to http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html and downloaded the 64-bit Java installer.

After I ran the installer for 64-bit Java, Android Studio started for me, without any problems.

Harshil Kabra
Harshil Kabra
7 years ago

thanks a lot =)

Ajith Gopi
Ajith Gopi
7 years ago

Thank you so much!

Otto
Otto
7 years ago

thanks

Jason Tan
Jason Tan
7 years ago

anyone knows why I am having this problem?
The android studio setup cannot detect my jdk
ps: I already set the environment variable – JAVA_HOME

Jason Tan
Jason Tan
7 years ago

I don’t really know what is happening
when i launch my android studio setup
It unable to detect JDK
even I have set the Environment variable – JAVA_HOME
HELPPPP~~~

javatechig
javatechig
7 years ago
Reply to  Jason Tan

If your environment setup is done recently, you may require to restart your system. Please restart and check if it works,

Clairton
Clairton
7 years ago

Thanks, very help!

JavaTechig
JavaTechig
7 years ago

Follow below steps to set your java environment variable. Note that you need admin rights

Find JDK Installation Directory. First you need to know the installation path for the Java Development Kit.

Open the default installation path for the Java Development Kit

C:Program FilesJava
There should be a subdirectory like

C:Program FilesJavajdk1.6.0_10
Set the JAVA_HOME Variable

Once you have the JDK installation path:

Right-click the My Computer icon on
your desktop and select Properties.
Click the Advanced tab. Click the
Environment Variables button. Under System Variables, click New.
Enter the variable name as JAVA_HOME.
Enter the variable value as the installation path for the Java Development Kit.
Click OK.
Click Apply Changes.
You might need to restart windows.

JavaTechig
JavaTechig
7 years ago

Restart Android studio, and resync project. Should work for you.

JavaTechig
JavaTechig
7 years ago

do you have java installed? and environment variable set?

JavaTechig
JavaTechig
7 years ago

Hope you have downloaded latest version of A Studio?

Pritam Jana
Pritam Jana
7 years ago
Reply to  JavaTechig

Yes .. but i tried with older version that was same problem.

Khaleel
Khaleel
7 years ago

The above solution worked for me!!! Thanks

Anand
Anand
7 years ago

Hi,
I installed android studio and when i open it an error appears on screen Even I added JAVA_HOME variable in sysyem settionngs. i attached the pics please help.

Nilanchala Panigrahy
Nilanchala Panigrahy
7 years ago
Reply to  Anand

Restart your computer after setting environment variable.

Anand
Anand
7 years ago

Hi,
I installed android studio and set the JAVA_Home Variable but still it is not working…

Eugene
Eugene
7 years ago
Reply to  Anand

Anand, try setting a new System variable (The “New…” button in the bottom half), as it isn’t set as a system variable but rather a user one

JavaTechig
JavaTechig
7 years ago

What is the problem ? do you see any error?

JavaTechig
JavaTechig
7 years ago

Can you give a try with a lower version of JAVA SDK?

Abdul Rehman Ch
Abdul Rehman Ch
7 years ago

Please Help me

Nilanchala Panigrahy
Nilanchala Panigrahy
7 years ago

Did you set your class path?

prophet1996
prophet1996
6 years ago

Great article ,if still cant figure out how to, go :

https://ishankwebdev.wordpress.com/2016/03/02/androidsetup/

Tayebeh B
Tayebeh B
7 years ago

Hi to all, Please help me with this problem!!!

Apeksha
Apeksha
7 years ago

facing android studio project loading issue ,in this take a long to load but not open the project plzz help me

Tayebeh B
Tayebeh B
7 years ago

Hi to all, Please help me with this problem!!!

Java Pro
Java Pro
7 years ago

nice article

Tahjeeb Ahmed
Tahjeeb Ahmed
7 years ago

Hi All, Can any one help me solve this prob. I am not able to start Android Studio due to this

Nitin Bhatt
Nitin Bhatt
7 years ago

Hi while installing android i am getting error like error file opening in writing

Zak birt
Zak birt
6 years ago

i’ve tried downloading it many times and keep getting this error when i tell it to run.. please help

Nilanchala Panigrahy
Nilanchala Panigrahy
6 years ago
Reply to  Zak birt

What is the error ?

prophet1996
prophet1996
6 years ago
prophet1996
prophet1996
6 years ago

Great tutorial ,if still cant figure out how to, go :
https://ishankwebdev.wordpress.com/2016/03/02/androidsetup/

kushil
kushil
6 years ago

First u hav to download Java and jdk. Then copy paste the link and then try. It ll work

Nilanchala Panigrahy
Nilanchala Panigrahy
6 years ago

Are you using Android studio stable version or v2.2 beta?

Joao Tavares
Joao Tavares
6 years ago

Stable.
In my last attempt I uninstall and undid everything made until now. Then installed everything again and set all those vars and all other suggestions again, all at once, and now it’s working fine.
I have no idea what fixed the problem and I don’t care also.
Thanks.

StackTips
StackTips
6 years ago
Reply to  Joao Tavares

Good to hear it is working. Happy coding!

Nilanchala Panigrahy
Nilanchala Panigrahy
6 years ago

What is installing again? The SDK components or the Android Studio IDE itself ?

Nilanchala Panigrahy
Nilanchala Panigrahy
6 years ago

What is the error are you getting?

Abhishek Joshi
Abhishek Joshi
6 years ago

I am also facing the same problem. Really its frustrating. Please anybody give solution.

Abhishek Joshi
Abhishek Joshi
6 years ago

I have an issue with the launching of Android Studio after installation. I am using a laptop which runs on Windows 7 64 bit. I have jdk1.8.0_91 installed in the laptop. There was no issues while installing the Android Studio but after installation I am facing the the launching issue with the Android Studio. Because whenever I try to run that application, I am getting an error message like “No JVM installation found… … define a JAVA_HOME …”.
After many search in the web I already tried these steps:

– Creating new environment variables, JAVA_HOME, JDK_HOME, ANDROID_JDK, as well many similar others suggested by many persons and updated the path variable to where the jdk is installed.

Please help me.

saimounika
saimounika
6 years ago

i have a problem i already install the android studio and i did some activity then after that i close the studio when i reopen that one it reinstalling the all the process so time taken and not working properly can plz suggest any solution

Mj Jain
Mj Jain
5 years ago

android studio is open and working but the problem is when i have open a new project it take loading and loading and loading…………………… New project is not open why????

Pranay Pranay
Pranay Pranay
5 years ago

I’m having gradle issues…

It’s showing http gradle issues

As u wishes
As u wishes
5 years ago

comment image

every time when i want to start android studio.it only stuck on this page. pls help how can i get rid from it.

strike
strike
5 years ago
Reply to  As u wishes

does your problem solved?I am facing the same issue.

Mahesh
Mahesh
3 years ago
Reply to  strike

did u get any solution?

brandon
brandon
4 years ago

why i cannot update my android studio? anyone can help me solve this issue?

Dibas Das
Dibas Das
4 years ago

when i start android studio i get this feedback
comment image
anyone can help me

Alan Ratner
Alan Ratner
4 years ago

Just installed Android Studio on Windows which then invokes Android Studio Setup Wizard. The Downloading Components window then tries repeatedly to download https://dl.google.com/android/repository/android_m2repository_r47.zip
I assume this is some sort of permission issue so I tried launching studio64.exe with run as administrator but the same problem persists. Any ideas?

Akshatha M
Akshatha M
4 years ago
Reply to  Alan Ratner

is this problem resolved? am also facing same issue

Tolu
Tolu
3 years ago

I’m trying to setup up the app but I don’t know how to update my sdk

Previous Post
Android Studio Tutorials

Android Studio Features

Next Post
Android Tutorials

Creating Frame by Frame Animations in Android

Related Posts
By clicking “Allow All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookie Notice
Allow All
61
0
Would love your thoughts, please comment.x
()
x