Installing Android Studio
- Download the Android Studio package from above.
- Install Android Studio and the SDK tools:
- Launch the downloaded EXE file,
- 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
Mac OS X:
- Open the downloaded DMG file,
- 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.
- 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 execute
You may want to add
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
sdk/directory. For example:
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:
- To start building a new app, click New Project.
This starts the New Project wizard, which helps you set up a project using an app template.
- To import an existing Android app project, click Import Project.
Note: If you previously developed your Android project with Eclipse, you should first use the new export feature in the ADT plugin to prepare your project with the new Gradle build system. For more information, read Migrating from Eclipse.
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.
如何在没有安装过JAVA的WIN7 32位系统里安装和配置 Android Studio
1，http://developer.android.com/sdk/installing/studio.html 在这里下载WINDOWS版本的Android Studio；在本地计算机上获得安装文件：android-studio-bundle-130.677228-windows.exe；
4，初次运行 Android Studio 可能会无法启动，下面重点讲一下我的修改；不同的系统可能做法不太一样！
计算机属性-高级-环境变量-系统变量新建：变量名：ANDROID_STUDIO_JDK 变量值：C:\Program Files\Java\jdk1.7.0_21
5，在C:\Program Files\Android\android-studio\bin 下找到studio.bat，修改：SET BITS= 为 SET BITS=32
6，运行 Android Studio ，等5秒左右，出现了是否导入原来配置的对话框；直接点ok;