• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

emulator-5554 disconnected! Cancelling 'com.micro.AlertDemo activity launch'!

 
Pramod P Deore
Ranch Hand
Posts: 632
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody, Now I have one more new problem. I had write one application for displaying Alert, but when i ran it it shows me following error message please check attachement. I don't know what's going on with me.
some application shows error like-
Process com.android.phone is not responding
Error: "R cannot be resolved"

But now this one shows following error, please help me



Thanks
error.jpeg
[Thumbnail for error.jpeg]
 
Ksh Aggarwal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just restart the emulator and eclipse. Youll be fine
 
Pramod P Deore
Ranch Hand
Posts: 632
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ksh , again

I had restarted eclipse 2 times but still it gives me same error.
 
Pramod P Deore
Ranch Hand
Posts: 632
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think because on my computer i don't have full access because of that it gives me error. I had tried same application on my Team Leaders computer then there it runs fine.

or

is there is some time setting i.e if application is not run suppose within 40 second then emulator will be disconnected.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, you can get around this error by restarting the emulator or IDE or simply by resetting or restarting the adb server. (When you restart your emulator use -wipe-data switch to delete all the temporary files that the emulator created in previous runs).

If you get this error on every run, you should consider installing Eclipse and ADT plugin afresh, IMO.

is there is some time setting i.e if application is not run suppose within 40 second then emulator will be disconnected.

ADB is a client-server program with (adb)client & (adb)server components running on the development machine and a daemon process running on the emulator or device. Chances are that if the communication between any of the components fails or takes longer, a timeout would be flagged. But this is just a guess.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic