We are using the Developer Preview (version 0.4.0) of Android Studio at the time of writing. Installation details may change so visit the Android Studio site to check out the latest instructions and to download the relevant setup program.
From the Android Studio site:
javac -version
. If JDK is not available or the version is lower than 6, download JDK from here.- Download the Android Studio package from above.
- Install Android Studio and the SDK tools:
Windows:
- Launch the downloaded EXE file,
android-studio-bundle-<version>.exe
. - 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 exampleC:\Program Files\Java\jdk1.7.0_21
.
Mac OS X:- Open the downloaded DMG file,
android-studio-bundle-<version>.dmg
. - 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:- Unpack the downloaded Tar file,
android-studio-bundle-<version>.tgz
, into an appropriate location for your applications. - To launch Android Studio, navigate to the
android-studio/bin/
directory in a terminal and executestudio.sh
.You may want to addandroid-studio/bin/
to your PATH environmental variable so that you can start Android Studio from any directory.
- Launch the downloaded EXE file,
sdk/
directory. For example:\Users\<user>\AppData\Local\Android\android-studio\sdk\
Mac: /Applications/Android\ Studio.app/sdk/
Leave a Reply