Build Android app development environment based on Android studio

Source: Internet
Author: User

Note: The computer is a Windows XP system

1. Install JDK and environment variable settings

JDK is Java development Kit,java JDK

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Originally to use JDK8 directly, but in the installation of Jdk-8u5-windows-i586.exe, the error Pop-up dialog box:

Figure 1

Or just change it back. Using JDK7, install JDK Two installation prompts appear during installation of the installation directory. The first time is to install the JDK, such as:

Figure 2

After the first step is completed, the second step of installing the JRE is followed automatically, such as:

Figure 3

Recommended two are installed in a different folder in the same Java folder (cannot be installed in the Java folder root directory, JDK and JRE installed in the same folder will be error). After installing the JRE, the following dialog box pops up:

Figure 4

Originally wanted to click on "Next Steps" to access the tutorial, but the middle of the early Tang Dynasty error information, can only temporarily closed.

After the installation is complete, you need to set environment variables, right-click My Computer, click Properties, Advanced Environment variables:

(1) Creating Java_home environment variables

Under System environment variables, select New java_home=d:\java\jdk1.7.0_55, such as:

Figure 5

(2) Path variable modification

The path variable is found in the system variable, and the new%java_home%\bin;%java_home%\jre\bin is added in the last face;

Figure 6

(3) Classpath variable modification

The system variable classpathis created in the same way, the variable is named classpath, and the value of the variable is:

.; %java_home%\lib;%java_home%\lib\tools.jar (Note the beginning of the. and;)

After setting the environment variable, confirm the installation and setup by command java–version, such as:

Figure 7

As shown

2. Install Android Sudio

Android Studio:

Http://developer.android.com/sdk/installing/studio.html#Updating

The installation is always next to OK.

Reference links

Chapter One andriod Studio installation and environment construction

Http://blog.csdn.net/zhanghefu/article/details/9286123

Build your development environment with Android Studio

Http://mobile.51cto.com/abased-430392.htm

Build Android app development environment based on Android studio

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.