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,
- Android Error Unexpected cast to Button: layout tag was FrameLayout
- ADT quit unexpectedly error on Mac OSX Android Eclipse SDK
- Parsing Data for android-21 failed unsupported major.minor version 51.0
- Android Studio Ctrl Shift o auto import not working
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
- Android : How to make TextView Scrollable
- This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Lint Error
- Integrating Android Facebook SDK 3.17.2 Tutorial
- Android R Cannot Be Resolved To A Variable
- Android : Exception raised during rendering: action_bar API 22
- How to take screenshot on Android
- Read Text file from SD Card : Android Programming
- How to make Android EditText not editable
- Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.
- The declared package does not match the expected package Eclipse
- Can't Run SDK Manager find_java.bat issue
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- Android Emulator Soft Back button action using Computer keyboard
- Multiline EditText in Android Example
- Use 5G Network on Android Emulator
- Make Android TextView Clickable like Buttons
- How to empty trash in Android Device
- Android : Execute some code after back button is pressed
- Disable Fading Edges Scroll Effect Android Views
- How To Disable Landscape Mode in Android Application
More Posts:
- Turn Off Auto-Brightness on iPhone running iOS 16 - iOS
- Error 50057 - User account is disabled. The account has been disabled by an administrator [Microsoft - Teams - Azure] - Microsoft
- Replace new line with comma in Sublime Text Editor - Sublime-Text
- [Solution] macOS could not be installed on your computer OSInstall.mpkg appears to be missing or damaged - MacOS
- Indent/Prettify HTML File in Notepad++ - NotepadPlusPlus
- How to Change Android Toast Position? - Android
- Android: programmatically turn Bluetooth on or off using Java code - Android
- Enable JSON Pretty Print in Java Jackson - Java