Using Eclipse for androidSDK, when I go to run, I

2020-02-26 04:34发布

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!

11条回答
虎瘦雄心在
2楼-- · 2020-02-26 04:53

Delete that AVD and create a new one. That worked for me, and it's the simplest way, with no configuration at all.

查看更多
淡お忘
3楼-- · 2020-02-26 04:54

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. :)

查看更多
狗以群分
4楼-- · 2020-02-26 04:55

Make sure that no proxy software is preventing Eclipse from connecting to the internet.

My problem was solved by doing this!

查看更多
Juvenile、少年°
5楼-- · 2020-02-26 05:02

I just had the same problem, that's why I found myself here.

What I did is to run cmd then adb kill-server, then open task manager in windows and kill the emulator-x86.exe process. Then re-run the project, it should work fine.

I guess adb kill-server isn't even necessary.

查看更多
叛逆
6楼-- · 2020-02-26 05:04
Delete pid file from all blow directories
.android\avd\[your_device].avd\cache.img.lock &
hardware-qemu.ini.lock &
sdcard.img.lock &
userdata-qemu.img.lock directories

Then start AVD.
查看更多
登录 后发表回答