Getting started with Android Development

Source: Internet
Author: User

I. installation and configuration of the android Environment

1. First install Java JDK,

For Java Development, you must first install JDK. After JDK is installed, you must configure environment variables:

(1) download JDK (Http://java.sun.com/javase/downloads/index.jsp), The version I downloaded is: jdk-6u14-windows-i586.exe

(22.161_install jdk-6u14-windows-i586.exe

(3) Configure environment variables: Right-click "my computer" --> "advanced" --> "environment variables"

1) Create in System VariablesJava_homeVariable; Value: C: \ Program Files \ Java \ jdk1.6.0 _ 14 (based on your own installation path)

2) createClasspathVariable; Value:.; % java_home % \ Lib \ tools. Jar

3) InPathAdd variable values: % java_home % \ bin; % java_home % \ JRE \ bin (note that variable values are separated)

4) "start" --> "run" --> enter "javac" --> "enter". If the command is printed properly, the configuration is successful!

Analysis of supplemental environment variables:

Java_home: JDK installation path

Classpath: Java loads the class path. Only the class can be identified by the Java command in classpath. A "." is added before the path to indicate the current path.

Path: The system can recognize Java and javac commands in any path. Reference blog authorNiklas_f attention fieldThisArticleJDK installation and environment variable configuration.

 

2. Download and install ADT

Download the latest ADT bundle from the official Android website. It integrates eclipse + ADT plugin, Android SDK tools, Android platform-tools, and so on, simplifying the configuration, you no longer need to configure the android development environment as you used.

Android SDK (ADT bundle for Windows:ADT for Windows. Of course, the Linux and Mac versions of other platforms are also provided here.

 

Ii. Use of Eclipse IDE in Android Development

1,Change the default path for Android Development

Open the eclipse development tool, select the File menu in eclipse --> swith workplace --> other, and click it to enter the path of your current project,

Click the Browse button to select a new job path.SpaceWorkspace.

This is for mobileSource codePATH is very practical.

 

3. Android Development Website

1, the first Android official website, can refer to the android API, here there are various topics of Android development, address: http://developer.android.com/guide/components/index.html

2. Several Chinese websites:

EOE androidCommunity: Http://www.eoeandroid.com/forum.php

Http://android.eoe.cn/

Android bus Portal: http://www.apkbus.com/

 

 

 

 

 

 

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.