I downloaded Android SDK components from http://dl-ssl.google.com/android/repository/repository.xml.
Now my question is how to insta开发者_开发问答ll these components? I am using Eclipse and the AVD plugin for Eclipse is installed.
since you downloaded the components already, you also need to download the "core" sdk from the android dev site.
extract that to your desired location, then extract the "platform tools" to the platforms directory in the "core", extract the "sdk tools" to the "tools" directory in the "core".
your android sdk directory should look something like this:
- android-sdk-windows
- tools
- lib
- adb.exe
- emulator.exe
- ddms.bat
- platforms
- android-8
- tools
- aapt.exe
- tools
- android-7
- tools
- aapt.exe
- tools
- android-8
- SDK Setup.exe
- tools
I would recommend downloading the components through SDK Manager. If you're having problems doing so, turn 'https' off in the settings and also configure the proxy details if the machine is behind a proxy.
If you still need to download the SDK packages offline, Open SDK manager and note down the URL printed in the logs.
It will be something like this,
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-5.xml
Parse XML: https://dl-ssl.google.com/android/repository/repository-5.xml
Open this URL (https://dl-ssl.google.com/android/repository/repository-5.xml) in the browser and look for "". Jump to the version you want to download and make a note of the appropriate ZIP file you want for your machine. Download the ZIP file by appending the name to "https://dl-ssl.google.com/android/repository/".
E.g., If you want to download ICS 4.0.3, the ZIP file name is android-15_r01.zip and the URL would be https://dl-ssl.google.com/android/repository/android-15_r01.zip.
Done! Hope that helps.
Don't download components directly from that URL.
Instead you should install the SDK components with the Android SDK and AVD Manager as shown on the Android Developers site.
I found the answer to this question I think the folder where you should paste the Android zip file is in:
C:\Documents and Settings\Administrateur\AppData\Local\Android\sdk\temp
精彩评论