Android training materials preparation of Android development environment to build

Source: Internet
Author: User

The Android development environment is built into the following four steps:

(1) Download the JDK and install

(2) Configuring the JDK environment variable

(3) Download and install Android Studio

(4) Configuring the Android Studio environment variable (executable does not execute)

First step: Download the JDK and install

Let's start with Oracle and pick the JDK that's right for your computer (I picked the window x64 jdk-8 version here)

Now let's look at the installation process

Install to C drive By default, we can click Change to the custom directory, here I choose to install to D:\Program files\java\jdk1.8.0_60\

Waiting for installation

During the installation process, you will be prompted to choose the JRE installation directory, the default is C drive, here we also changed to D:\Program files\java\jre1.8.0_60

Wait for the installation to complete.

Step Two: Configure the JDK environment variable

environment variable configuration, computer-Advanced system configuration

System variables-New, variable name fill java_home, variable value fill in your JDK installation directory, my is D:\Program files\java\jdk1.8.0_60

In the system variable find path Click to edit, add%java_home%\bin;%java_home%\jre\bin;

Tips: (1) The original path of the variable value at the end of the number, if not, enter the first, and then enter the above code

System variables-New-new, variable name fill in classpath, variable value fill in.; %java_home%\lib;%java_home%\lib\tools.jar (note that the front has a small dot)

Finally, we verify that the installation is successful, open the command line (win+r), enter the Javac, the following a large list of things on behalf of the OK

step three: Download and install android Studio

Android training materials preparation of Android development environment to build

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.