: Http://developer.android.com/sdk/installing/studio.html#download
If the startup fails
Go to the Android Studio installation directory E: \ software \ AndroidStudio \ bin and run studio. bat.
Appears
It turns out that JAVA environment variables are not set!
No.1
Click Create in system variables and enter JAVA_HOME as the variable name.
- Variable name JAVA_HOME
- Variable value: C: \ Program Files \ Java \ jdk1.7.0 _ 21
No. 2
In system variables, click Create variable name and enter CLASSPATH
- Variable name CLASSPATH
- Variable value.; % JAVA_HOME % \ lib \ tools. jar
No. 3
Find the Path variable in the system variable, which is built-in to the system.
- ; % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin
Pay attention to the semicolon.
After setting, open AndroidStudio and create a new project,Do not change the projectlocation., Use the default value. Otherwise, an error is prompted. This problem remains to be studied,
Then a page is displayed for downloading updates.
After the game is updated, the interface is displayed successfully. Haha, as shown in figure
If you cannot run it, try again.The latest jdk versionBecause I have the latest version,
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Run:
Chinese garbled characters
In the window that appears, find the IDE-->Under Appearance, Select"", Click the application, and then I can see the Chinese, and then I choseHaha.
Reference http://www.eoeandroid.com/thread-275485-1-1.html
Use Chinese in the Code if promptedJava: Unfinished string text
Set the character encoding of the project.
File --> Settings