Android:how To Avoid Xml Verification Failed Error And Upgrading To 2.x Sdk Successfully?
Solution 1:
If you are using a very old version of the tools, you will need to download a newer starter package from http://developer.android.com/sdk/index.html
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.
By the way once you download the new starter package you can replace the tools folder from your previous installation with the new one. That way you don't have to change PATH env var or any other setup you have.
Solution 2:
Error:
XML verification failed for https://dlssl.google.com/android/repository/repository.xml. Error: java.lang.NullPointerException
Answer :
This error occurs on Mac because, Java 6 is not installed by default on osX 10.5.6 or before and you need Java 6 to run Android AVD and SDK Manager.
The easiest way to overcome this error is by installing the latest version of Java.
You can find this blog useful.
Solution 3:
If you are getting the error XML verification failed for https://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'sdk:sdk- repository'. Failed to fetch URL
in mac os, then download android sdk (Mac OS X (intel) android-sdk_r15-macosx.zip) from http://developer.android.com/sdk/index.html. Unzip this package and copy this unzip package on your mac root directory (Macintosh HD) and rename this unzip package as android-sdk. Now open android-sdk->tools->android. The sdk update will start automatically. You dont need to install java 6. It is automatically installed in your mac os.
Post a Comment for "Android:how To Avoid Xml Verification Failed Error And Upgrading To 2.x Sdk Successfully?"