Complete installation tutorial for Android + eclipse + ADT

Source: Internet
Author: User

There has been nothing to do in recent days. On the internet, it seems that I suddenly want to learn about Android...
First, I want to download the android SDK. I updated android-sdk_r07-windows.zip on August 18) after the wall software was downloaded, I realized that there was still a website. I don't know if it was Google.
For Android websites in China, the content above is exactly the same as http://developer.android.com/sdk/index.html. Http://dl.google.com/android/android-sdk_r07-windows.zipthis can be directly downloaded.

Download, decompress, appeared Android-SDK-Windows folder, enter the click the robot icon, that is, the SDK manager.exe, the result of the decisive pop-up failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason:
Dl-ssl.google.com error, cannot connect to this XML connector HTTPS .. To HTTP is to force https ://... convert to http ://..; and so on... I'm speechless

Follow the online method to directly access the OS file, download the following file in thunder, and install it as follows:
Because the Android-SDK-Windows folder we decompressed previously contains several folders, the folder mentioned below, which is not found in Android-SDK-windows and is created by name. OK
The following two instance files are decompressed to the samples Folder:
Http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
Http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
The following are all versions of Android, which may be used (you can also discard earlier versions) and decompress them to platforms:

Https://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
Https://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
Https://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
Https://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
Https://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
Https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
The following files are available for each API version. decompress them to add-ons:
Https://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
Https://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
Https://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
Https://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
Https://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
Https://dl-ssl.google.com/android/repository/google_apis-3-r03.zip

Below is the user manual, decompress it to the docs Folder:

Http://dl-ssl.google.com/android/repository/docs-2.2_r01-linux.zip
Decompress the following file to the Tools Folder:
Https://dl-ssl.google.com/android/repository/tools_r07-windows.zip

This is the certificate file: unzip to market_licensing: https://dl-ssl.google.com/android/repository/market_licensing-r01.zip
This is the USB driver file. decompress it to the usb_driver Folder:
Https://dl-ssl.google.com/android/repository/usb_driver_r03-windows.zip

Remember, because the ZIP file is directly decompressed into a folder with many files in it, the previous one is directly decompressed to the target folder, and the following several files are decompressed to the docs, tools, usb_driver of these folders, market_licensing, is to directly extract the external Folder removed, for example, the USB driver file zip extracted is the folder: usb_driver_r03-windows, copy all the files and put them in the USB driver. Otherwise, it cannot be read;
After the installation is complete, add E: \ Android-SDK-Windows \ tools to the environment variable path (because I installed it on the elastic drive). Be sure to add it correctly, there is a semicolon between two paths;

Then install ADT in Eclipse:
I use eclipse3.5.2. other versions of eclipse3.5.2.
Helpinstall software enters the install panel, click Add next to that work with, and enter add site
Panel name casually write your own recognition on the line, location filled in: https://dl-ssl.google.com/android/eclipse OK, eclipse will automatically find the package to install, or if you have downloaded the ADT address download: success,

Click windowpreference to see an Android app. Click it and Click Browse on the right to select the local target address of your Android app to apply .. OK.
Click window-> Android SDK and AVD manager to open the panel. Select Installed Package on the left side to view your installed items. In available packages, select the check box in the right border and click Refresh, see what else needs to be installed... (In fact, if you have installed eclipse + ADT before, you don't have to worry about installing the SDK before. You can install it online directly here, I don't know why. Click the downloaded SDK to install the file SDK.
Manager.exe cannot be connected, but it is feasible here... Of course, online installation is far from faster than direct download and installation. I am running at a speed of less than 20 kb... Download about 1 GB in total)
The installation is complete, and you can follow the tutorial, or start to enjoy Android !!!!
Sorry, I have been groping for two days before I finally got everything done .. Ah, to prevent others from taking a cup like me, share it with me. Let everyone avoid detours.

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.