It's probably a bad install of ADT. Try uninstalling the plugin, restarting Eclipse, then installing it again fresh.

That of you aren't letting the emulator boot all the way up and are closing it before ADT/ADB can install/run your app.


  1. Please set wipe_data for emulator
  2. Use same instance of application (after modification if any) to avoid error you are getting.


This can also happen if you're using a network share as your home folder, because some network file sharing systems may lock the image files.


Delete the directories cache.img.lock and userdata-qemu.img.lock (in my case these files are in /mylocalusername/.android/avd/avd7.avd


Thanks for this! Just to add for some people who develop in Windows XP.

The path to the avd directory can be C:\Documents and Settings\.android\avd

Thanks again for the answer! :)


Under Run Configurations --> Target --> Add Command Line Options add this

adb kill-server && adb start-server

every time running your App will kill-restart the adb server.


emulator: ERROR: the user data image is used by another emulator. aborting

Tried restarting the computer as I had done a lot of messing around earlier but no joy same error.

Went to shut down ADB so as I'm on XP I run > cmd then paste in > cd C:\Program Files\Android\android-sdk\platform-tools (the location of the location for the ADB on XP)


adb kill-server && adb start-server

Then moved the directories cache.img.lock and userdata-qemu.img.lock in the C:\Documents and Settings\.android\avd\ to a New folder (instead of deleting)

This worked fine.


Delete the existing emulators and then make a new one.

This worked for me, when I had this problem and couldn't find the folders to delete.


AFAIK, this happens when an emulator is started, but the Android Debug Bridge couldn't establish connection to it.

If you have just started the emulator with your application, watch if you get Waiting for HOME to launch... or something similar in your Console.

If you don't get that message, but the emulator has been started, chances are, you'll get into the ERROR: the user data image is used by another emulator situation again.


Here is the answer that helped me: link text

Another solution for me is start the avd manager and start once emulator from there. After that everything turns to normal.


Run configurationsTargetWipe user data → Run.

It fixed the problem in my case.


A quick-fix that obviously works is to restart the adb server each time this error occurs:

adb kill-server && adb start-server

Then, you simply run the application again (without restarting AVD) and that's it.


I had the same issue after my computer locked up and I had to power cycle it.

Wiping the user data didn't fix my problem, I had to delete the following folders manually


Related Query

More Query from same tag