Reputation: 2579
I am getting this error, I tried to resolve it but still it is not working.I have tried "adb kill-server" and adb start-server and also emulator -avd emulator_name -wipe-data.
I have attached the screen shoot of cmd.
I just want to run my application, but after "Waiting for HOME ('android.process.acore') to be launched." I got emulator-5554 disconnected error, I searched on net and from following link I tried commands
I tried to reset the adb but got following error:
[2012-08-06 10:12:38 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2012-08-06 10:12:39 - DeviceMonitor] Connection attempts: 1
Now, I have tried following solution that wipes user data but I do not want it.My applications need to interact with each other , with following solution it is not possible because now, I need to wipe data before running each application..:(
Select & Right Click on Android Project
Run Configurations
Go to tab Target
Enable option Wipe User Data on Emulator launch parameters
Run Application
Upvotes: 3
Views: 9187
Reputation: 62411
I resolved it by following these steps,
I Hope it helps
Upvotes: 1
Reputation: 36
What I did is go to the Android Virtual Manager (AVD) and edit Memory Options: like adjusted Ram from 15 to 30 and VM Heap from 16 to 32. Since then the "emulator: 5554 diconnected! Cancelling ..." never scared me till I shut it down. It works for me, though.
Upvotes: 2
Reputation: 7532
If you use Eclipse
just go to Windows
- Show View
- Device
. There is small triangle Show menu
. Press and choose reset adb
. Wait a little bit and run your project again.
Upvotes: 3