deepak22
deepak22

Reputation: 11

Emulator is not launching

Getting warning when i am launching emulator please help me

Data partition already in use. Changes will not persist!
Cache partition already in use. Changes will not persist!

Upvotes: 0

Views: 745

Answers (4)

naizheng TAN
naizheng TAN

Reputation: 167

This warning means your data partition (userdata-qemu.img) and cache parition (cache.img) are being used. There may be other emulators running. Or, there might be some inconsistent state of your emulator images.

If you are sure there is no other emulators running, then delete the "file lock" in the avd directory. The dir should be ~/.android/avd/[NAME OF YOUR AVD]/. And the "file lock" should be userdata-qemu.img.lock and cache.img.lock.

Upvotes: 0

tomáš
tomáš

Reputation: 1

Try to emulate different model. E.g. in my case, I was using nexus 4 and an error occured everytime. After that I tried to change model (4.0", 1024 RAM) and it works fine.

Upvotes: 0

Riddhi
Riddhi

Reputation: 13

delete that emulator and create another new emulator. Make sure that there is only 1 emulator in AVD SDK manager. try it, may it has solve your problem.

Upvotes: 1

Shrikant Ballal
Shrikant Ballal

Reputation: 7087

In Windows open command prompt (cmd.exe). In Linux open Terminal. Locate adb.exe in SDK folder

..\android-sdk\platform-tools\abd.exe
cd <sdk directory> (move to the folder listed above)
dir (to make sure abd.exe is in that directory)
adb kill-server (stop the abd service, won't return anything)
adb start-server (start the abd service back up, should give a couple of readings)

Upvotes: 0

Related Questions