How to install and configure Android Studio in win7

Source: Internet
Author: User

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

  1. Variable name JAVA_HOME
  2. Variable value: C: \ Program Files \ Java \ jdk1.7.0 _ 21


No. 2
In system variables, click Create variable name and enter CLASSPATH

  1. Variable name CLASSPATH
  2. Variable value.; % JAVA_HOME % \ lib \ tools. jar


No. 3
Find the Path variable in the system variable, which is built-in to the system.

  1. ; % 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.