Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Eclipse for androidSDK, when I go to run, I get WARNING: Data partition already in use. Changes will not persist!

Tags:

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!
like image 742
JiminyCricket Avatar asked Jul 28 '11 04:07

JiminyCricket


2 Answers

Goto DDMS perspective, click on the down arrow next to the screen capture camera icon and select reset adb from the dropdown menu.

My apk file was not deploying either, resetting adb sorted it out. :)

like image 160
john-w Avatar answered Oct 02 '22 14:10

john-w


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

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)

Then retest, problem solved!

like image 41
Thomas Avatar answered Oct 02 '22 15:10

Thomas