III,
Android SDK
Install
Android SDK
You can use the SDK
The download tool can be automatically downloaded and configured. It is suitable for scenarios with good network performance and fast download speed. You can also use a tool to download the SDK.
File and manual configuration, suitable for scenarios where the network is not good and the download speed is slow.
SDK
The steps for downloading an automatic download tool are as follows:
- Unzip the android-sdk_r08-windows download and double-click to run SDK manager.exe:
If your computer does not support HTTPS connection, you will see the following interface:
Select setting to tick the options of force https: //... sources to be fetched by using http: //...
- Select the packages you want to install and click Install selected to install the packages:
- The confirmation dialog box is as follows. Select accept all for download and installation.
- The android SDK is downloaded and installed.
- Depending on your network speed, the download and installation time may be long or short. Please be patient.
The steps for manual download are as follows:
- By analyzing the http://dl-ssl.google.com/android/repository/repository.xml of Android download
You can get the following download list (taking windows as an example ):
Http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
Http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
Http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
Http://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
Http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
Http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
Http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
Http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
Http://dl-ssl.google.com/android/repository/platform-tools_r02-windows.zip
Http://dl-ssl.google.com/android/repository/tools_r09-windows.zip
Http://dl-ssl.google.com/android/repository/docs-Honeycomb_pre_r01-linux.zip
Http://dl-ssl.google.com/android/repository/samples-Honeycomb_pre_r01-linux.zip
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
Http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
- Use the download tool to download the package to your local computer and decompress the package to the directory where the SDK is downloaded according to the following ing relationships. The ing relationships are as follows:
Android-1.5_r04-windows.zip |
Platforms/Android-3 |
Android-1.6_r03-windows.zip |
Platforms/Android-4 |
Android-2.0_r01-windows.zip |
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_r02-windows.zip |
Platforms/Android-8 |
Android-2.3.1_r02-linux.zip |
Platforms/Android-9 |
Android-3.0_pre_r01-linux.zip |
Platforms/Android-10 |
Platform-tools_r02-windows.zip |
Platforms-Tools |
Tools_r09-windows.zip |
Tools |
Docs-Honeycomb_pre_r01-linux.zip |
Doc |
Samples-Honeycomb_pre_r01-linux.zip |
Samples/Android-10 |
Samples-2.1_r01-linux.zip |
Samples/Android-7 |
Samples-2.2_r01-linux.zip |
Samples/Android-8 |
Samples-2.3_r01-linux.zip |
Samples/Android-9 |
- If you want to install Google API, address in analysis: http://dl-ssl.google.com/android/repository/addon.xml
Download the packages you need to decompress. The method is the same as 1 and 2.
Download list:
Http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
Http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
Http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
Http://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
Http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
Http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
Http://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
Http://dl-ssl.google.com/android/repository/market_licensing-r01.zip
Http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip
- Ing:
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_r02.zip |
Add-ons/addon_google_apis_google_inc_8 |
Google_apis-9_r02.zip |
Add-ons/addon_google_apis_google_inc_9 |
Market_licensing-r01.zip |
Google-market_licensing |
Usb_driver_r04-windows.zip |
Usb_driver |
- The specific directory structure is as follows:
- After decompression, start the SDK download tool and check whether the installation is successful, for example:
Note: When John was writing this article, Android
Android SDK platform honeycomb preview, Revision 1
But Android-3.0_pre_r01-linux.zip
Place in http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
So you cannot download and install this version of Android SDK.
But does not affect the SDK
. Please download and install it on your own.