error while opening AVD manager

2019-06-18 07:24发布

问题:

I'm facing common problems when running the codes to emulator . The console messages are

[2013-01-05 19:39:15 - Doodlz] Android Launch!
[2013-01-05 19:39:15 - Doodlz] adb is running normally.
[2013-01-05 19:39:15 - Doodlz] Performing com.deitel.doodlz.Doodlz activity launch
[2013-01-05 19:39:15 - Doodlz] Automatic Target Mode: launching new emulator with compatible AVD 'Nex'
[2013-01-05 19:39:15 - Doodlz] Launching a new emulator with Virtual Device 'Nex'

but the emulator was not launching at all even already waited for longer time.

After that, I tried starting the emulator from AVD manager, but the console messages told

[2013-01-05 19:39:25 - SDK Manager] Error parsing C:\Users\Dedy\.android\devices.xml, backing up to C:\Users\Dedy\.android\devices.xml.old
[2013-01-05 19:39:28 - SDK Manager] Error parsing C:\Users\Dedy\.android\devices.xml, backing up to C:\Users\Dedy\.android\devices.xml.old

I couldn't make out these problem. can someone tell me what should I do to troubleshoot these problems?

Thanks alot.

回答1:

perform this steps :

  1. Delete the old AVD and create new AVD. Might your AVD got corrupt.
  2. if doesn't work Restart your eclipse and try again.
  3. if doesn't work Go to C:\Users\(username)\.android folder and deleted both the avd and cache folders. (it may not be necessary to remove both, I didn't check any further). This might help you !!
  4. go to this link and start emulator from command prompt. Check whether there is ADB connection between eclipse and emulator is started or stopped.
  5. If none of them help re-install the sdk and eclipse.