Build an android development environment and build android

Source: Internet
Author: User

Build an android development environment and build android
Build an android Development Environment

Introduction:

"To do well, you must first sharpen your tools.

To learn about Android development, you must build an android development environment ."

 

To build an android development environment, follow these steps:

1. Download JDK, androidSDK, Eclipse, and ADT
2. Install JDK and configure Environment Variables
3. Run SDK Manager.exe
4. Install the ADT plug-in
5. Associate AndroidSDK

6. Create AVD

1. required files:

Http://pan.baidu.com/s/1jGsp5wa password: jh15

 

 

Common sense:

What is SDK?

SDK: (software development kit) software development kit. A collection of Development kits used by software development engineers to build application software, such as specific software packages, software frameworks, hardware platforms, and operating systems. Therefore, the Android SDK refers to the Android software development kit.

 

What is ADT?

ADT (Android Development Tools): currently, the Development tool for Android Development is Eclipse.
Install ADT in the Eclipse compiling IDE environment to upgrade or change development tools for Android development,
It is simply an upgrade and download tool for development tools in Eclipse.

Installation Tutorial:
2. Download and install jdk, and set environment variables.
3. decompress the package and double-click manager.exe to install the package.

File Installation features are generally described as follows:

**********************
Tools

--------------------------------------------------------
Android SDK Platform-tools Android Platform Tool

Android SDK Build-tools 18.1 Android Build tool, apk generation required.

--------------------------------------------------------
Extras Extension

----------------------------------------------------

Android Support Library compatibility Library

Google USB Driver

-----------------------------------------------------
Android 4.4 latest version (API 19)

Documententation for Android SDK help document
 
SDK Platform API

Sample Samples for SDK

Arm eabi v7a System Image processor System Image

Google APIs Google Map

Sources for android SDK source code

Android 2.3.3 (API 10)

**************************************** ********************
4. Load ADT plug-in

***************

Open Eclipse, --> help --> Install New Software... --> Add...

Name: ADT
Location: Archive... --> browse to find the ADT compressed package. --> OK


Developer Tools --> next -->... --> finished.


*************************
5. Associate AndroidSDK

Windows --> Proferences


6. Create AVD

AVD is called Android Virtual Device, which is a Virtual Device running on Android. It is recognized by the Android simulator. To run a created Android program, you must create an AVD. You can configure many running projects on each AVD.

 

(1) Click the icon shown in the figure:

(2) (select a smaller resolution first) 2.7 QVGA slider -- Create AVD... -->

 

(3) configure and then click OK:

AVD Name: Mobile Phone Name

Device: not changed by default

Target: Android version. Select Android 2.3.3-API level 10.

CPU/ABI: Select "ARM (armeabi)" for low computer configuration or "intel i3" or "x86" for high computer configuration)

Keyboard: whether the simulator displays the Keyboard

Skin: whether the simulator displays Skin

Front Camera: Front Camera

Back Camera: webcam0

Memory Options: RAM: 512 (virtual Memory size of mobile phones) VM Heap: 16

Internal Storage: the Storage space of the simulator mobile phone. Set the memory space of the mobile phone to 200 MiB.

SD Card:

Size: 32MiB

OK

(4) Start the Android phone simulator:

 

 

If you think this installation blog is not good, you can also refer to the blog post by the predecessors of Wu Qin (Taylor:

Android development: environment construction and HelloWorld

Http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.html

 

 


After adding the ADT to eclipse, two icons will be displayed on the menu bar! Then store windows
Go to Preferences and click android to enter the SDK path in that box. We recommend that you download the SDK. Do not download it online. If there are other versions to match, it will be OK!
The problem of setting up the android development environment may be that your system is 64-bit, And the JDK you install is a 32-bit reinstall 64-bit JDK to solve this problem.

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.