Android Learning Article 1-building an android environment in Windows

Source: Internet
Author: User

 

The main content is as follows:

1) establish the environment

1.1 JDK Installation

1.2 install eclipse

1.3 Android SDK Installation

1.4 ADT Installation

1.5 create AVD

2) helloworld instance Program

 

 

1)Environment Construction


1.1,JDKInstallation and configuration

JDK download http://www.oracle.com/technetwork/java/javase/downloads/index.html,

 

Install JDK

Step 1: click "accept"

 

Step 2: select the JDK installation path:

 

 

Step 3: select the Virtual Machine installation path:

 

Step 4: click "Next" to complete the installation.

 

 

ConfigurationJDK

 

Step 1,

 

 

Step 2,

 

Step 3,

 

 

Step 4,

 

 

Step 5: variable name: java_home; variable value: JDK installation path (for example, C:/program files/Java/jdk1.6.0 _ 03)

 

 

 

Step 6,

 

 

 

 

 

Step 7: at the end of the variable value text box
Add the string "; % java_home %/bin"

 

 

 

 

 

 

Step 8,

 

 

 

Step 9: variable name: classpath variable value: JDK installation path/bin/tools. jar; JDK installation path/bin/dt. Jar

(For example, "C:/Program
Files/Java/jdk1.6.0 _ 03/bin/tools. jar; C:/Program
Files/Java/jdk1.6.0 _ 03/bin/BT. Jar ")

 

 

 

 

 

 

Click Next

 


Description of related parameters:

1. Project name: name of the folder containing the project

2. package name: the package name follows the Java specification. It is important to use the package name to distinguish different classes. Activity name: this is the main class name of the project, this class will be a subclass of the android activity class. An activity class is a simple class for starting and controlling programs. It can create an interface as needed, but not required.

3. Application name: An easy-to-read title is on your application (I have not figured out what is going on, but I still use it well if I have not entered it ).

 

Now JDK is complete.

 

 

 

 

 

 

 

 

 

 

 

 

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.