Android SDK Configuration FAQ and how to handle it

Source: Internet
Author: User

1, <a href= "http://www.goodprogrammer.org/" target= "blank" >android training </a>------My Java notes, look forward to communicating with you!

Download SDK package, unzip and display

2. Double-click the SDK Manager.exe program to enter the following interface

Note: Some children's shoes may encounter the following problems generally, one and 22 operations are completed OK

One, update the SDK, encountered the update download failure problem:

Fetching Https://dl-ssl.google.com/android/repository/addons_list-2.xml fetched add-ons list successfully fetching Url:https://dl-ssl.google.com/android/repository/repository-8.xml done loading packages. Fetching Https://dl-ssl.google.com/android/repository/addons_list-2.xml Failed to fetch URL https:// Dl-ssl.google.com/android/repository/addons_list-2.xml, reason:connection to Https://dl-ssl.google.com refused Fetched add-ons List successfully fetching Url:https://dl-ssl.google.com/android/repository/repository-8.xml Failed To fetch URL Https://dl-ssl.google.com/android/repository/repository-8.xml, Reason:httphostconnect Connection to Https://dl-ssl.google.com refused done loading packages.

The solution is as follows:

Troubleshooting domestic access to Google Servers: 1). Launch Android SDK Manager, 2). Open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window; 3 ). In the "Android SDK manager-settings" window, fill in port"and 80 in the"http proxy server"and"http proxy mirrors.neusoft.edu.cn input boxes, and select " Force https://... sources to be fetched using http://..."check box; 4. Click the"close"button to close the" Android SDK manager-settings "window to return to the main interface ; 5). Select "packages", "reload".

Second, no Android version appears

1), open the Hosts file under the C:\WINDOWS\SYSTEM32\DRIVERS\ETC path from my computer (TXT text mode opens)

2), copy the following code to the back:

#google_android更新 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com127.0.0.1 servserv.generals.ea.com 74.125.237.1 dl-ssl.google.com 127.0.0.1 localhost 203.208.46.146 dl.google.com 74.125.237.1 dl-ssl.google.co M

Then close the SDK and start again, and the Android version will be updated.

3 . After running the following interface, we choose the Android version we want to install, I select the latest version, and then click "Install X Packages" installation

。

4. On the new interface, choose to accept and comply with all licensed Content (accept All), then click "Install".

The Android SDK Manager starts to download and install your selected package, and we'll wait a few minutes.

5, after installation, in the Android SDK Manager interface, you will see "Installed" after the package you selected, indicating that it has been installed.

6. Then we go back to the folder interface and run the AVD Manager.exe.

7. After opening the AVD Manager.exe, click "New" to create a new simulator:

8. Create a new Android Virtual Device (AVD): Enter the AVD name, select Target, enter the size of the simulated SD Card, and select skin skins. Then "Create AVD".

9. Start running your new emulator virtual device: Select the virtual appliance and click "Start" to launch the Android emulator by tapping "Launch" directly on the interface that appears.

Android SDK Configuration FAQ and how to handle it

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.