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.

Nilanchala

A blogger, a bit of tech freak and a software developer. He is a thought leader in the fusion of design and mobile technologies. He is the author of Xamarin Mobile Application Development for Android Book (goo.gl/qUZ0XV3), DZone MVB and founder of stacktips.com.

Related Articles

Join The Discussion

Please note: We reserve the right to delete comments that contains snarky remarks, offensive or off-topic. To know more read our comments policy.
  • Pranay Pranay

    I’m having gradle issues…

    It’s showing http gradle issues

  • Mj Jain

    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????

  • saimounika

    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

  • Abhishek Joshi

    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.

  • Abhishek Joshi

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

  • What is the error are you getting?

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

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

    • Joao Tavares

      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.

      • Good to hear it is working. Happy coding!

  • kushil

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

  • prophet1996

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

  • prophet1996
  • Zak birt

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

  • Nitin Bhatt

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

  • Tahjeeb Ahmed

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

  • Java Pro

    nice article

  • Tayebeh B

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

  • Apeksha

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

  • Tayebeh B

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

  • Abdul Rehman Ch

    Please Help me

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

  • What is the problem ? do you see any error?

  • Anand

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

    • Eugene

      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

  • Anand

    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

      Restart your computer after setting environment variable.

  • Khaleel

    The above solution worked for me!!! Thanks

  • Hope you have downloaded latest version of A Studio?

    • Pritam Jana

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

  • do you have java installed? and environment variable set?

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

  • 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.

  • Clairton

    Thanks, very help!

  • Jason Tan

    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~~~

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

  • Jason Tan

    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

  • Otto

    thanks

  • Thank you so much!

  • Harshil Kabra

    thanks a lot =)

  • Ed Poor

    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.

  • Ed Poor

    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

  • Abid Hussain

    Thankzzzzzzzzzzz man saved ma life

  • Rizwan

    thanks my dear

  • José Antonio

    Obrigado. =)

  • Mohak

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

  • Mattias

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

  • 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 :)