Learn how to build an android Development Environment

Source: Internet
Author: User

 

 

[Original] I read several articles on the Internet about getting started with zero-basic Android, But I really want to use it. For example, I didn't explain how to install the most basic SDK, but think about it. I am so angry that I have written something that contributes to everyone? Let's take a look at it.


I am a Java-based developer. I am also habitually choosing a Java-friendly Android Development Platform Based on this background. I have long been familiar with Android, but I have never met anyone. Today is my initial contact, I also checked some introductory articles on the Internet and now I will record the actual operations.

 


1. Development Environment. The development tool I used is eclipse. Therefore, you need to install the Java environment. However, I develop Java. The local machine has installed the Java 6 environment, and eclipse has already been used, is eclipse3.6.2 version, so this step to is saving, Java environment installation instructions in the online search for a handler, so this does not say, you can also see this article (http://blog.csdn.net/hstar00004/article/details/7200544)

 


2. Install the android SDK. I am confused for a long time because I have no guidance, and the Android version has reached 4. the version X, for beginners, is still from the lower version. Because the SDK is backward compatible, the lower version has a wide applicability. I also intend to install android2.3 version to try, so I went to the official website http://developer.android.com intends to download version 2.3 SDK, but half a day did not find, later found, its SDK download is not based on a version released to the user download, but directly let the user download the android-sdk_r16-xxxxxx, this thing is actually andriod
Download the software from SDK manager.
The official version information is automatically refreshed. On the Manager page, you can select the desired version to download.

If your network is a proxy, you can also set the network proxy in the tools option of manager.

In the andriod SDK manager, I select two files for the downloaded files: "Tools" and "andriod ".
SDK 2.3 "SDK platform, samples for SDK, Goole
APIS has five files in total.

 


3. Eclipse is integrated with Android. We recommend that you view or download Android SDK 2.3 and eclipse's Latest Development Environment on the Internet.

1). Eclipse point help, click Install new software
, Click Add
.

2) Enter ADT in name and ADT in location.
Http://dl-ssl.google.com/android/eclipse/
And then the system automatically queries information online.

3) Select the following develop tools, click Next, and click Next on the detail page. Click licenses, and then click I on the right.
Acept ..., Continue to the next step.

4). A restart prompt is displayed. After the restart, you will be prompted to download the latest SDK, or select the SDK that has been installed on your local machine. Select the local SDK and point to the directory where the local SDK is installed.

 

 

4. AVD manager is the simulator manager.

Open AVD manager in the menu on the left or in eclipse, and click New on the interface to bring up the creation interface. The name can be named android1, and the target is Android.
2.3.3 API level 10. the SDK card size is 100 mb. For other values, click creater.
AVD: This record is displayed in the Manager.

 

 

 

 

 

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.