Emulator-5554 offline! Cancellation of the 'launch of the activity'! I tried to solve with the cmd commands but still does not work

advertisements

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

HelloAndroid]emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!

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


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.