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.

Summary

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

Http://www.android123.com.cn/android_kit.html

Android-sdk_r08-windows.zip

Android-ndk-r5-windows.zip

ADT-8.0.0.zip

Eclipse-java-europa-winter-win32.zip

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)

Version

Android platform

1.5, 1.6, 2.0, 2.1, 2.2 2.33.0

AndroidSummary of differences between different versions

Http://blog.csdn.net/lschou520/archive/2010/12/30/6107823.aspx

Differences between Android versions [Image]

Http://rainhomepage.appspot.com/2010/11/android-version

Http://bbs.pcpop.com/100527/6549298.html

Prerequisites for IDE installation (JDK and environment variables)

Hypothesis

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 \

Java_home

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

Classpath

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

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

Path

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(adt-8.0.0.zip###execute eclipse.exe

Or use the ADT online address http://dl-ssl.google.com/android/eclipse/ 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.

Reference http://www.cnblogs.com/wanlipeng/archive/2010/08/04/1792136.html

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.