I am completely new to Java, and Android, and eclipse. When doing the initial Hello, Android tutorial, I go to run and get the following:
WARNING: Data partition already in use. Changes will not persist!
WARNING: Cache partition already in use. Changes will not persist!
For me it worked to simply create a new virtual Android device in the Eclipse -> Window -> AVD Manager.
If you consider this tutorial about "Read/Write Android Emulator sdcard.img in Windows", check that this virtual disk isn't somehow already mounted:
The OP JiminyCricket confirms it was some kind of "resource lock":
Go the AVD Manager then select the device and go to edit button and make sure RAM is not go beyond 768M in the memory options. Sometimes windows may fail to emulate, try progressively smaller value first if the emulator fails to launch.
Even easier fix: In Windows open command prompt (cmd.exe). In Linux open Terminal. Locate
adb.exe
in SDK folder ..\android-sdk\platform-tools\abd.exe
Then retest, problem solved!
One solution for this is to simply clean your projects. From the menu PROJECT>CLEAN...Clean All projects.
This worked for me when rebooting eclipse did not.
I take it back... this was temporary and incomplete. Even rebooting my eclipse and my system did not help until I killed the adb service, restarted it per the suggestions here. Now everything seems clean (knock on wood)
Just Restart Your Android SDK and Eclipse If it not works even restarting PC just delete that Android virtual device and create new one using AVD.
Hope It Helps !!