问题
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 :
- Delete the old AVD and create new AVD. Might your AVD got corrupt.
- if doesn't work Restart your eclipse and try again.
- if doesn't work Go to
C:\Users\(username)\.android
folder and deleted both theavd
andcache
folders. (it may not be necessary to remove both, I didn't check any further). This might help you !! - go to this link and start emulator from command prompt. Check whether there is ADB connection between eclipse and emulator is started or stopped.
- If none of them help re-install the sdk and eclipse.
来源:https://stackoverflow.com/questions/14110597/error-while-opening-avd-manager