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,
- Check Internet Connection WIFI 4G is active on Android Programmatically
- Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]
- How to Change Android Toast Position?
- Fail to connect to camera service Android java RuntimeException
- How to create Custom RatingBar Android Programming Tutorial
- Fixing Android unknown error 961 while downloading app
- Android AlertDialog with Yes No and Cancel Button
- Share or Send SMS via Android Intent
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- Pass data between two Android Activities and access it using Intent
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- Android EditText Cursor Colour appears to be white
- Android Development - How to switch between two Activities
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Android : Remove ListView Separator/divider programmatically or using xml property
- Android is starting optimizing... app 1 of 1
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- AlertDialog with single button example : Android
- Android : Exception raised during rendering: action_bar API 22
- Maven : java.lang.ClassNotFoundException: Xmx512m
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Center align text in TextView Android Programming
- How to Download and Install Android adb Tool on Linux, Mac or Windows
- Multiline EditText in Android Example
More Posts:
- How to comment out a block of code in Python - Python
- Upload a File in Microsoft SharePoint using PowerShell Script - SharePoint
- How to remove JetBrains Toolbox from Mac Startup - HowTos
- Using Document Map in Notepad++ - NotepadPlusPlus
- ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python] - Python
- How to Run PowerShell Script (Mac/Windows/Linux) - Powershell
- Java SE JDBC with Prepared Statement Parameterized Select Example - Java
- How to Initialize ArrayList Java with Values - Java