Error creating AVD after updating ADT, analyzing .xml device errors

I just updated my Android SDK to the latest version, as well as with my ADT, after which I could not create a new AVD.

Here is my mistake:

[2013-03-07 19:55:07 - SDK Manager] Error parsing C:\Users\sr\.android\devices.xml, backing up to C:\Users\sr\.android\devices.xml.old [2013-03-07 19:55:15 - SDK Manager] Error parsing C:\Users\sr\.android\devices.xml, backing up to C:\Users\sr\.android\devices.xml.old 

I reinstalled my eclipse, Android SDK and ADT, but still get this error. I run this on Windows 7. How can I fix this to create a new AVD?

+6
source share
5 answers

I solved this problem. here is the procedure. just check old devices.xml with C: \ AndroidInstallationDir \ android-sdk- windows \ tools \ Lib If it contains several device elements. Then paste these device.xml into C: \ Users \ .android restart your eclipse. Try it if it works. Thanks

+4
source

I managed to run it again by renaming / deleting the devices.xml file; he then recreates it. See Also: Error Opening AVD Manager

+3
source

Follow below to solve my problem.

  • Update the Eclipse ADT plugin to the latest version (I used 22.0.4-> 22.0.5)
  • Removed new added virtual device in AVD

and it worked for me.

+2
source

I had the same problem, I solved it by editing "devices.xml" and changing "," to ".". in values:

  • old record:
    <d:diagonal-length>4,30</d:diagonal-length> >
  • new entry:
    <d:diagonal-length>4.30</d:diagonal-length> >

  • old record:
    <d:xdpi>216,97</d:xdpi> >
    <d:ydpi>216,97</d:ydpi> >

  • new entry:
    <d:xdpi>216.97</d:xdpi> >
    <d:ydpi>216.97</d:ydpi> >

Now everything is working fine.

0
source

All Articles