If you get this error, when you try to launch your Android app on Emulator device, then simply try the following troubleshooting steps.
- Close you Eclipse IDE
- Locate your adb tool (you may simple find the path from the error logs)
- Now open Command Prompt/Terminal depending on if you are on Mac OS X or Windows.
- Execute command adb kill-server
- Now Open Eclipse IDE again and try running you app, there should be no issue.
If you still facing the issue, then it may be that ADB process is was not killed properly.
For Windows,
- Close Eclipse IDE.
- Go to task manager (ctrl+alt+del)
- Look for adb.exe
- Terminate/End the process.
- Now Open eclipse and launch AVD.
For Mac OS X,
- Close Eclipse IDE.
- Open Activity Monitor from Spotlight
- Under Cpu tab, look if eclipse/adb process is running
- Double Click on the Process name and Exit it.
- 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 your system.
[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 occurred.
[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/c2c/Android/adt-bundle-
mac-x86_64-20140702/sdk/platform-tools/adb' and can be executed.
More Posts related to Android,
- Increase Android Emulator Timeout time
- Android : Remove ListView Separator/divider programmatically or using xml property
- Error : Invalid key hash.The key hash does not match any stored key hashes
- How to Change Android Toast Position?
- Android Alert Dialog with Checkboxes example
- Android : No Launcher activity found! Error
- Android Development: Spinners with Example
- Failed to sync Gradle project Error:failed to find target android-23
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Disable Fading Edges Scroll Effect Android Views
- How to create Toast messages in Android?
- Channel 50 SMSes received every few minutes Android Phones
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Create Custom Android AlertDialog
- How To Disable Landscape Mode in Android Application
- Android Development - How to switch between two Activities
- incorrect line ending: found carriage return (\r) without corresponding newline (\n)
- Generate Facebook Android SDK keyhash using java code
- Android Error Generating Final Archive - Debug Certificate Expired
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Android RatingBar Example
- 11 Weeks of Android Online Sessions-15-Jun-to-28-Aug-2020
- Download interrupted: Unknown Host dl-ssl.google.com Error Android SDK Manager
- fill_parent vs match_parent vs wrap_content
- Android : Connection with adb was interrupted 0 attempts have been made to reconnect
More Posts:
- Changing Android Intent Tittle using java code - Android
- Angular CLI ng Error: You need to specify a command before moving on. Use --help to view the available commands - HowTos
- Ubuntu Linux: Unzip a zip file using Terminal - Ubuntu
- Android Studio : Build Tools 23.0.0 rc1 is deprecated - Android-Studio
- Fahrenheit to Celsius Temperature Convertor: Tool & Formula - Tools
- 33: Python Program to send an email vid GMail - Python
- How to recover SharePoint FARM if the SQL Server IP changes - SharePoint
- [Fix] Ubuntu E: Unable to locate package sudo error - Ubuntu