Error parsing C:\Documents and Settings\<user>\.android\devices.xml
Solution 1
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
Solution 2
delete homedirectory/.android then restart the IDE
SDK will prompt for updates
Solution 3
Delete .android folder in your home directory and now run the application from android studio. Error will go away.
L. G.
Updated on August 10, 2022Comments
-
L. G. almost 2 years
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.
-
RVG almost 11 yearsThank u. it helps to me.
-
L. G. over 10 yearsI suppose a bug in the installation/update setup overwrite the old devices.xml.
-
Manoj Seelan about 10 yearsThat was really helpful. Thanks for sharing this.