Code2care : TechZone Apps & Tutorials

Android Launch! The connection to adb is down, and a severe error has occured.




[2014-08-28 12:49:43 - SDK Manager] Created AVD 'avd2.3' based on Android 2.3.3, Intel Atom (x86) processor,
[2014-08-28 12:49:43 - SDK Manager] with the following hardware config:
[2014-08-28 12:49:43 - SDK Manager] disk.dataPartition.size=200M
[2014-08-28 12:49:43 - SDK Manager] hw.accelerometer=yes
[2014-08-28 12:49:43 - SDK Manager] hw.audioInput=yes
[2014-08-28 12:49:43 - SDK Manager] hw.battery=no
[2014-08-28 12:49:43 - SDK Manager] hw.camera.back=none
[2014-08-28 12:49:43 - SDK Manager] hw.camera.front=none
[2014-08-28 12:49:43 - SDK Manager] hw.dPad=no
[2014-08-28 12:49:43 - SDK Manager] hw.device.hash2=MD5:e4aa1843c10fc4d1028
[2014-08-28 12:49:43 - SDK Manager] hw.device.manufacturer=Google
[2014-08-28 12:49:43 - SDK Manager] hw.device.name=Nexus S
[2014-08-28 12:49:43 - SDK Manager] hw.gps=yes
[2014-08-28 12:49:43 - SDK Manager] hw.keyboard=yes
[2014-08-28 12:49:43 - SDK Manager] hw.lcd.density=240
[2014-08-28 12:49:43 - SDK Manager] hw.mainKeys=yes
[2014-08-28 12:49:43 - SDK Manager] hw.ramSize=512
[2014-08-28 12:49:43 - SDK Manager] hw.sdCard=yes
[2014-08-28 12:49:43 - SDK Manager] hw.sensors.orientation=yes
[2014-08-28 12:49:43 - SDK Manager] hw.sensors.proximity=yes
[2014-08-28 12:49:43 - SDK Manager] hw.trackBall=no
[2014-08-28 12:49:43 - SDK Manager] skin.dynamic=no
[2014-08-28 12:49:43 - SDK Manager] vm.heapSize=32

[2014-08-28 12:49:52 - Code2careDemo] ------------------------------
[2014-08-28 12:49:52 - Code2careDemo] Android Launch!
[2014-08-28 12:49:52 - Code2careDemo] The connection to adb is down, and a severe error has occured.
[2014-08-28 12:49:52 - Code2careDemo] You must restart adb and Eclipse.
[2014-08-28 12:49:52 - Code2careDemo] Please ensure that adb is correctly located at '/Users/rakeshswami/Android/adt-bundle-
mac-x86_64-20140702/sdk/platform-tools/adb' and can be executed.


If you get this error, when you try to launch your Android app on Emulator device, then simply try the following troubleshooting steps.

    1. Close you Eclipse IDE

    2. Locate your adb tool (you may simple find the path from the error logs)

    3. Now open Command Prompt/Terminal depending on if you are on Mac OS X or Windows.

    4. Execute command adb kill-server

    5. Now Open Eclipse IDE again and try running you app, there should be no issue.


If you still facing the issue, then it maybe that adb process is was not killed properly.

For Windows,

    1. Close Eclipse IDE.

    2. Go to task manager (ctrl+alt+del)

    3. Look for adb.exe

    4. Terminate/End the process.

    5. Now Open eclipse and launch AVD.



For Mac OS X,

    1. Close Eclipse IDE.

    2. Open Activity Monitor from Spotlight

    3. Under Cpu tab, look if eclipse/adb process is running

    4. Double Click on the Process name and Exit it.

    5. Restart Android Eclipse IDE and run AVD again



Other Solutions :

Check the adb.exe location if it has been moved from android-sdk-windows/tools/adb.exe to android-sdk-windows/platform-tool/adb.exe. If yes, replace it to /tools/ folder.

If still things are the same, try restarting you system.











Related Questions :


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

2. The connection to adb is down, and a severe error has occurred.

3. adb down error occurred.

Posts related to android.


1. Share image and text Twitter using your Android Application Programatically

2. The Android Virtual Device 'myEmulator' is currently running an emulator and cannot be deleted.

3. Make Android View Scrollable both Horizontally and Vertically

4. Can we move apps like WhatsApp, Facebook to external MicroSD card

5. Parsing Data for android-21 failed unsupported major.minor version 51.0

6. Android : Prevent App for rotation landscape or portrait

7. ADT quit unexpectedly error on Mac OSX Android Eclipse SDK

8. Android-Failed to install apk on device EOF Timeout Error

9. How to change Android EditText Cursor Color

10. JavaDocs for Android SDK Eclipse IDE

11. Two Buttons next to each other in Android Layout

12. Change Title text for Android Activity using java code

13. How to add Newline to text in Android TextView

14. Android : Unable to load VM from snapshot : Mac OS X Error

15. INVALID FILE NAME: MUST CONTAIN ONLY [a-z0-9_.] Android Eclipse Error

16. Hide Tittle bar and Navigation bar from android activity

17. appcompat_v7 errors after updates to API level 21 Material Theme

18. How to Copy Text to Android Clipboard Programatically ClipboardManager (Both Old and New SDK)

19. [Solution] Running Android Lint has encountered a problem NullPointerException Error

20. Remove Trailing zeros BigDecimal Java

    more...

Posts related to eclipse.


1. 27 Code Snippets/Templates to Eclipse IDE Tricks

2. How to use Content Assist in Eclipse IDE : Tricks

3. How to enable Spellcheck in Eclipse Workspace

4. Java JRE Installation location Mac OS X 10.10 Yosemite

5. Parsing Data for android-21 failed unsupported major.minor version 51.0

6. Android Launch! The connection to adb is down, and a severe error has occured.

7. Eclipse like Auto Import Shortcut in Intelij IDE Android Studio

8. JavaDocs for Android SDK Eclipse IDE

9. [Solutions] Android Error in an XML file: aborting build. Eclipse SDK

10. Eclipse Error : The Eclipse executable launcher was unable to locate its companion shared library.

11. Add imports in eclipse shortcut key combinations

12. How to check installed Eclipse version 32-bit or 64-bit Mac OS X

13. How to Configure Eclipse keymap in IntelliJ IDE

14. Eclipse Failed to load the JNI shared library jvm.dll

15. Your System has Mac OS X Version 10.10. Java from Oracle requires 10.7.3 or later error

16. appcompat_v7 errors after updates to API level 21 Material Theme

17. Plug-in com.android.ide.eclipse.adt was unable to lead class Error

18. The declared package does not match the expected package Eclipse

19. incorrect line ending: found carriage return (\r) without corresponding newline (\n)

20. Android : R Cannot Be Resolved To A Variable-Error Solutions

    more...






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17