score:0
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.
score:0
- Please set wipe_data for emulator
- Use same instance of application (after modification if any) to avoid error you are getting.
score:0
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.
score:0
Delete the directories cache.img.lock and userdata-qemu.img.lock (in my case these files are in /mylocalusername/.android/avd/avd7.avd
score:0
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! :)
score:1
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.
score:1
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)
Tried
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.
score:1
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.
score:2
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.
score:4
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.
score:8
Run configurations → Target → Wipe user data → Run.
It fixed the problem in my case.
score:24
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.
score:51
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
C:\Users\%UserName%\.android\avd\AVD2.1.avd\cache.img.lock
C:\Users\%UserName%\.android\avd\AVD2.1.avd\userdata-qemu.img.lock
Source: stackoverflow.com
Related Query
- Emulator problem in Android
- Problem with Android Emulator in Eclipse
- Android Emulator Screen Size Problem
- Android Emulator snapshot error
- Reload Android application in emulator without restarting emulator in Eclipse?
- Android emulator error: "System UI has stopped"
- Sending and receiving text using android emulator
- How to attach back the Android emulator to ADB?
- Android Emulator can't start, 'cause of wrong folder
- Problem importing Android project archives into Eclipse
- Android Emulator won't run application started from eclipse
- Eclipse Android Emulator - Keyboard not working
- How do I run an Android emulator automatically from Eclipse?
- Trouble getting Android emulator to run in eclipse
- Eclipse, adb, and ddms not detecting Android Emulator
- Android Emulator starts but Eclipse doesn't recognize it
- Error "AdbCommandRejectedException: device not found" in Eclipse using Android emulator
- Android emulator refuses to boot
- Eclipse not running Android app on emulator a second time
- Eclipse Android Emulator won't launch
- Android : 4.0.3 emulator closed automatically after some time
- how can an android emulator contact the host developing machine in eclipse?
- Android emulator not showing the app- it only shows the skin
- Cannot create an emulator with Android L (API 20)
- Android OpenGL apps stop working after being loaded in emulator
- Android - How can I view a sql database created in my app? I'm running it on the Android emulator in Eclipse
- android emulator in ADT plugin not running
- Android emulator error: std::bad_alloc
- LibGDX HelloWorld project crashes when run on Android emulator
- Stuck on emulator screen in Eclipse with Android Development?
More Query from same tag
- How to retrieve the file name of an image in Parse.com, for an Android app
- When I press . (period) Eclipse tries to compile
- Wait for workspace job to finish
- eclipse neno installer install multi versions
- Eclipse: Failed to get the required ADT version number from the SDK
- SVN Export in Eclipse removes labels on tabs
- Going back to code while debugging in eclipse
- ClassNotFoundException even though the jar containing the class is properly present in the classpath
- Android R has been deleted by eclipse
- How to pull pull all repositories with single click?
- Eclipse 3.6.2. refuses to debug applications built with Eclipse 3.6.1
- Running JUnit tests inside a running OSGi application with IDE integration
- How to add jar in Eclipse to update the version ?
- Eclipse e4 Extending a Perspective
- Is there a way to restrict the project drop down list when you bind an Eclipse project to a SonarQube project?
- Migrate an existing java (libGDX) project and git repository from eclipse to IntelliJ IDEA
- How can I show line numbers in Eclipse?
- How to Implement Console View in Pure Eclipse 4 RCP
- Eclipse / PyDev falsely identifies package as missing
- Eclipse IDE java equivalent of PHP include?
- Eclipse doesn't see the project in the run configuration
- JVM: could not open
- No editor descriptor for Manifest on opening old Android project with latest Eclipse
- How do I turn off automatic workspace building in Eclipse?
- OCaIDE can't create .cmo files (compile modules)
- android.content.res.Resources$NotFoundException
- IDE with Kconfig support?
- Last ADT update (22.6.3) spoiled my Eclipse
- String concatenation in relation to JOptionPane
- Database table is not creating automatically using Maven