Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: "emulator-5554 disconnected! Cancelling activity launch'? [duplicate]

Tags:

android

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

like image 857
Engr M Hassan Avatar asked Sep 13 '11 06:09

Engr M Hassan


2 Answers

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

like image 111
Mohammed Azharuddin Shaikh Avatar answered Oct 03 '22 03:10

Mohammed Azharuddin Shaikh


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/

like image 24
Engr M Hassan Avatar answered Oct 03 '22 04:10

Engr M Hassan