-3

Why the emulator disconnected when launching any android app? am facing the problem whenever i launch my app in the emulator. It shows me the error:
emulator-5554 disconnected! Cancelling com.atul_mittal.myfirstapp.MainActivity activity launch.
May i know the reason behindd it?

Pararth
  • 8,064
  • 4
  • 33
  • 51
Atul Mittal
  • 111
  • 1
  • 4
  • 15
  • check emulator target and ur application target android version – KOTIOS Sep 15 '14 at 12:58
  • 1
    possible duplicate of : http://stackoverflow.com/questions/2160454/helloandroidemulator-5554-disconnected-cancelling-com-example-helloandroid-he – kgandroid Sep 15 '14 at 13:05

1 Answers1

1

I had a similar problem -- it ended up I wasn't waiting long enough for the emulator to run the OS before trying to install the app. Launch the emulator and then wait for the home screen to appear before running the app in Eclipse.

or

Open Android Virtual Device Manager select the AVD you use for your app. Press the start button and wait for a new form to show up called (Launch Options). Check the box "Wipe user data" and hit "Launch" button.

This should work.

--- OR ---

Open Android Virtual Device Manager Delete the AVD you use for your app. Create an new AVD. Start your new AVD.

Sandeep Kumar
  • 452
  • 4
  • 18