An error occurred while updating the SDK using the android update SDK.

Source: Internet
Author: User

When Android sdk2.0 is installed with AVD manager in Ubuntu today, the following error occurs:
Failed to fetchurl https://dl-ssl.google.com/android/repository/repository.xml
As prompted, check the settings:
Force https: //... sources to be fetched using http ://...,
And click Save & apply, but the following message is still displayed:
Failed to fetchurl https://dl-ssl.google.com/android/repository/repository.xml
The force function is ineffective when it should be set. I searched the following online. Many people have encountered similar problems, and the android official team has not proposed a solution, but a method was found in Google group (see: http://groups.google.com/group/android-developers/browse_thread/thread/63a44163a8d07cd9? PLI = 1 ):
You can set an environment variable in the command line before running the android update SDK:
Export gdk_native_windows = true
Then, execute the android update SDK, set force https: //... sources to be fetched using http: //..., and click Save & apply.
In fact, I later found that no environment variables can be set. The main reason for the above problem is that I checked force ...... After that, click the Save & Apply button with the mouse. The UI does not respond to the click event. A very simple method is to press enter because the check box is complete, the Default Option Button is save & apply. Press enter directly. If it is not the default button, you can click it to change it to the selected button, and then press Enter.

 

 

This error may occur on the window because you have not selected the force option!

Switch to the setting panel and select!

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/JiangBo_HIT/archive/2009/11/24/4860996.aspx

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.