Android development basics 1-Overview and SDK installation and documentation

Source: Internet
Author: User

IPhone software porting is basically over. For details, refer to iPhone.


The development website is in harmony, and the content on the official SDK website needs to be turned over.


Because the android architecture interface is implemented in Java, most of the software is developed in Java. You can use the SDK at this time; you can use ndk for porting existing C/C ++ projects (the interface is supported by the SDK)


Android platform

1.5, 1.6, 2.0, 2.1, 2.2 2.33.0

AndroidSummary of differences between different versions


Differences between Android versions [Image]



Prerequisites for IDE installation (JDK and environment variables)


JDK is installed in c: \ Program Files (x86) \ Java \ jdk1.6.0 _ 23

Decompress Android SDK on D: \ mobile \ Android-SDK-Windows

Android ndk decompress in D: \ mobile \ android-ndk-r5

Cygwin is installed in c: \ cygwin \


C: \ Program Files (x86) \ Java \ jdk1.6.0 _ 23


C: \ Program Files (x86) \ Java \ jdk1.6.0 _ 23 \ Lib;

C: \ Program Files (x86) \ Java \ jdk1.6.0 _ 23 \ JRE \ Lib


C: \ Program Files (x86) \ Java \ jdk1.6.0 _ 23 \ bin; find the Java command lineProgram

D: \ mobile \ Android-SDK-Windows \ tools; D: \ mobile \ Android-SDK-Windows \ platform-tools;

Find tools such as ADB

C: \ cygwin \ bin; find C/C ++ compilation tools such as GCC g ++ make.

D: \ mobile \ android-ndk-r5 find the ndk-buildndk-GDB script

Sdk1. select to install the corresponding SDK version

Decompress the SDK package to a directory; execute SDK manager.exe online; select the required installation package, as shown in figure

[Documents and ExamplesCodeCan be downloaded here]

2. Create Virtual Devices

Different avds can be created based on the downloaded version.

3. Run eclipse to set the SDK path

Decompress eclipse and overwrite the anroiddevelopment plug-in of eclipseto the directory of eciplse( eclipse.exe

Or use the ADT online address to install ADT.

Set the SDK path

Start Project

New: File/New/Android project can create a new project

After these are created, you can run and debug the program.

Development document

SDK manager.exe is stored in the Android-SDK-Windows \ docsdirectory after installation, and index.html can be viewed (it is best not to use IE, and some ie versions cannot be viewed normally)

For those who are not familiar with this environment, read this document to understand some Android conventions and specifications.


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: 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.