8

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

i removed the Eclipse and than install it again and than run my program, it will run. but after some time this error came again emulator-5554 disconnected! Cancelling activity launch'!

i did not understand why it happens again and again....:( i had open devices as well

Community
  • 1
  • 1
Engr M Hassan
  • 1,222
  • 4
  • 14
  • 22
  • Did you try closing Eclipse and all the emulators / disconnecting the devices you have connected, and then reopening eclipse? I have this issue often (Windows 7 x64) – William Melani Sep 13 '11 at 06:46
  • i had restarted mine system but it came back........:( i am using windows xp – Engr M Hassan Sep 13 '11 at 06:50
  • Yes do like as @hotVeryspicy said. And if possible then when ever you start adb just select the option of wipe user data. Sometimes it will be also helpfull to you – Shreyash Mahajan Sep 13 '11 at 07:04

2 Answers2

35

ya it is happening, for that just try to reset your adb by going to "DDMS" environment open "Devices" tab and in that top right corner you have "view menu" click on it you will get an option called "reset adb" just do that, may helps

Mohammed Azharuddin Shaikh
  • 41,633
  • 14
  • 96
  • 115
1

Your Device may not have enough memory to install this .apk file. Your should Uninstall unnecessary application from settings > Manage Application > Click Uninstall onClicking Useless application and also clear data of that app. i had also follow the steps and change the environmental settings for java it helped me alot and now the cancellation of emulator had almost minimal. and my program is running do check this website http://www.mybringback.com/bringers/java-programming/the-basics/441/setting-up-jre-on-you-computer-so-you-can-begin-java-programming/

Engr M Hassan
  • 1,222
  • 4
  • 14
  • 22