page.title=Getting Started with Android Studio page.tags="studio" @jd:body

EARLY ACCESS PREVIEW

This download includes:

  • Android Studio early access preview
  • All the Android SDK Tools to design, test, debug, and profile your app
  • The latest Android platform to compile your app
  • The latest Android system image to run your app in the emulator

Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging. On top of the capabilities you expect from IntelliJ, Android Studio offers:

Caution: 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 Plugin).

Installing Android Studio

  1. Download the Android Studio package from above.
  2. Install Android Studio and the SDK tools:

    Windows:

    1. Launch the downloaded EXE file, {@code android-studio-bundle-<version>.exe}.
    2. Follow the setup wizard to install Android Studio.

      Known issue: 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 and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.

    Mac OS X:

    1. Open the downloaded DMG file, {@code android-studio-bundle-<version>.dmg}.
    2. Drag and drop Android Studio into the Applications folder.

      Known issue: Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, go to System Preferences > Security & Privacy and under Allow applications downloaded from, select Anywhere. Then open Android Studio again.

    Linux:

    1. Unpack the downloaded Tar file, {@code android-studio-bundle-<version>.tgz}, into an appropriate location for your applications.
    2. To launch Android Studio, navigate to the {@code android-studio/bin/} directory in a terminal and execute {@code studio.sh}.

      You may want to add {@code android-studio/bin/} to your PATH environmental variable so that you can start Android Studio from any directory.

That's it! You're ready to start developing apps with Android Studio.

Note: On Windows and Mac, the individual tools and other SDK packages are saved within the Android Studio application directory. To access the tools directly, use a terminal to navigate into the application and locate the {@code sdk/} directory. For example:

Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\

Mac: /Applications/Android\ Studio.app/sdk/

For a list of some known issues, see tools.android.com/knownissues.

Starting a Project

When you launch Android Studio for the first time, you'll see a Welcome screen that offers several ways to get started:

For additional help using Android Studio, read Tips and Tricks.

As you continue developing apps, you may need to install additional versions of Android for the emulator and other packages such as the Android Support Library. To install more packages, use the SDK Manager, which you can open from Android Studio by clicking SDK Manager in the toolbar.