New Android experience (1) Development Environment Installation

Source: Internet
Author: User

General situation: Install the android development environment. There are many tutorials on the Internet, including installing eclipse, JDK... There are no other problems. The most troublesome thing is to install the SDK, because the installation is an online installation process, and the files to be installed are very huge (more than 20 zip packages larger than 60 MB ), in addition, online installation is sometimes slow, so it is difficult. I tried some solutions. I think it is quite good to install them offline before completing them online. The following are some experiences:

Requirement: The network speed is fast, because the download volume is very large. The hard disk must be large because there are many things to install and decompress.

Eclipse: http://www.eclipse.org/downloads/, which should be downloaded for Java ee.

JDK: http://www.java.net/download/jdk6/6u20/promoted/b01/binaries/jdk-6u20-ea-bin-b01-windows-i586-10_mar_2010.exe

SDK: http://dl-ssl.google.com/android/android-sdk_r10-windows.zip, version will continue to rise, I installed has reached R10. The package contains only some basic things. Run setup.exe to download and install it online. But do not rush to download some offline packages.

Offline package download (dbank, fast): Android SDK offline installation package-dbank Network Disk Resource Sharing-file backup-Free Network Hard Disk

For offline package installation, create add-ons, Docs, platforms, platform-tools, and tools under Android-SDK-windows, and decompress the files to the corresponding directory:

Android-1.5_r04-windows.zip ==> platforms \ Android-3
Android-1.6_r03-windows.zip ==> platforms \ Android-4
Android-2.0_r01-windows.zipp ==> platforms \ Android-5
Android-2.0.1_r01-windows.zip ==> platforms \ Android-6
Android-2.1_r02-windows.zip ==> platforms \ Android-7
Android-2.2_r01-windows.zip ==> platforms \ Android-8

Google_apis-3-r03.zip ==> add-ons \ addon_google_apis_google_inc_3
Google_apis-4_r02.zip ==> add-ons \ addon_google_apis_google_inc_4
Google_apis-5_r01.zip ==> add-ons \ addon_google_apis_google_inc_5
Google_apis-6_r01.zip ==> add-ons \ addon_google_apis_google_inc_6
Google_apis-7_r01.zip ==> add-ons \ addon_google_apis_google_inc_7
Google_apis-8_r01.zip ==> add-ons \ addon_google_apis_google_inc_8

Docs-2.2_r01-linux.zip ==> Doc

Samples-2.1_r01-linux.zip ==> samples \ Android-7
Samples-2.2_r01-linux.zip ==> samples \ Android-7

Tools_r06-windows.zip ==> tools

Usb_driver_r03-windows.zip ==> usb_driver

All compressed packages should be decompressed by "decompressing to the current folder", keep their respective folders, and rename them as shown above. In addition to docs and tools, you should select the latest version, decompress the package, and copy the content to the root of docs and tools.

After the offline package is installed, run Setup again. You can see that the installation is greatly reduced. Just install the remaining package.

In eclipse windows -- preference, specify the android SDK path.

Add the path of tools in the properties of my computer-advanced-Environment Variable-system variable-path, such as E: \ Android-SDK-Windows \ tools;

ADT installation: You can also download an offline ADT package, and then click "add" in help-install new software, select the downloaded ZIP file.

Create: file-New-Project. Select Android project.

Run: You must create a virtual phone of the specified version to run. (The first time I run it, I always stay on the black screen of the virtual phone. There is only one android and one cursor flashing and there is a mobile phone interface, but there is no reaction to the keyboard. This is the case with several other versions, I thought it was a problem. Later I found out that it was a virtual phone that was being started. This status would last nearly 40 seconds !). I searched for a solution on the Internet. It is said that there is an effective solution: to turn off the direction of the virtual phone. After a try, it may take about 10 seconds.

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.