Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error parsing C:\Documents and Settings\<user>\.android\devices.xml

Since my last update of the Android SDK on Eclipse I have the following error opening Eclipse:

Error: Error parsing C:\Documents and Settings\.android\devices.xml, backing up to C:\Documents and Settings\.android\devices.xml.old cvc-elt.1: Cannot find the declaration of element 'd:layout-devices'.

Someone has ever experienced this problem? I can't find anything on Google and Stackoverflow about this error.

like image 757
L. G. Avatar asked Aug 23 '13 12:08

L. G.


2 Answers

I finally found a solution myself.
This answer put me on the right track: https://stackoverflow.com/a/13429067/891479

Copy default devices.xml file from
Sdk_Directory/tools/lib/devices.xml
to
Home_Directory/.android/devices.xml.

Home_Directory is the windows user home directory.
Example: C:\Documents and Settings\smcqueen\.android

like image 159
L. G. Avatar answered Nov 13 '22 09:11

L. G.


delete homedirectory/.android then restart the IDE

SDK will prompt for updates

like image 5
Teshan Avatar answered Nov 13 '22 09:11

Teshan