0

I installed android in eclipse, everything is fine but after launching the AVD, emulator was not opening. At what situations it will happen? It was showing error like

[2012-07-19 17:09:04 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
Rob
  • 4,927
  • 12
  • 49
  • 54
harika
  • 33
  • 1
  • 2
  • 7

2 Answers2

0
Check out this - 

"The connection to adb is down, and a severe error has occured."

as well

Error: "Adb connection Error:An existing connection was forcibly closed by the remote host"

Or you can do one thing give correct path of android-sdk-windows.

Community
  • 1
  • 1
AkashG
  • 7,868
  • 3
  • 28
  • 43
0

I had some problems with the emulator button in eclipse, too. Some times it just wont't fire the emulator up. I actually have no guess why this is (maybe it opens up in another dimension where you can't see it :P). I worket around this issue by simply not using the button ;). I start the emulator manually. On linux after creating your emulator configurations you can start an emulator from the command line.

In your Android SDK folder there is a subfolder "tools". You can run the "emulator" program and give it the name of the AVD configuration as first argument.

emulator @My_AVD_Configuration_Name

You have to put the @ token in front of the name. Then you can install your APK file by using the "adb" program. The "adb" program is in the "platform-tools" subfolder in your Android SDK. Just write.

adb install -r MyAndroidApp.apk

I hope this helps a bit :)

  • I opened emulator in tools folder, but it was automatically closed. – harika Jul 19 '12 at 12:26
  • when i started to open the emulator it was not showing in the task manager – harika Jul 19 '12 at 12:35
  • nw i'm getting this type of messahe, still emulator was not opening. [2012-07-20 12:19:07 - FirstApp] Android Launch! [2012-07-20 12:19:07 - FirstApp] adb is running normally. [2012-07-20 12:19:07 - FirstApp] Performing com.zen.firstapp.MainActivity activity launch [2012-07-20 12:19:07 - FirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'avd' [2012-07-20 12:19:07 - FirstApp] Launching a new emulator with Virtual Device 'avd' – harika Jul 20 '12 at 06:55