Problems encountered during Android update and upgrade in eclipse

Source: Internet
Author: User

If you have installed and used the android SDK before, you can use the android SDK and AVD Manager (in eclipse-> window-> Android SDK and AVD manager) to update and upgrade the SDK. In the pop-up Android SDK field, select available packages on the left and select the components to be installed.

 

However, I encountered the following error when performing this operation:

XML Verification Failed for http://dl-ssl.google.com/android/repository/repository.xml.
Error: cvc-elt.1: cannot find the declaration of element 'sdk: SDK-repository '.
Failed to fetch http://dl-ssl.google.com/android/repository/repository.xml, reason: Unknown

 

I checked the relevant information on the Internet (too few) for the following reasons:

"The reason is that the schema of the Repository XML file changed when we released Rev 5, but only tools in Revision 4 or higher can adapt to schema changes ."

That is to say, because the architecture of the XML file library (repository XML file) has changed during the release of Rev 5, only Revision 4 or a later version can adapt to this architecture change. That is to say, because the version of the android SDK tools we are using is too low (too old ). You can query the version of Android SDK tools in the installed packages on the left of eclipse-> window-> Android SDK and AVD manager.

 

Therefore, you need to download the new version of Android SDK or the appropriate version of Android SDK tools.

 

In eclipse> help> check for update, select ADT tools for updates. After the update, in eclipse-> window-> Android SDK and AVD manager, select available packages on the left and then select the check box next to the URL on the right, you can install the software as needed.

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.