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 : Execute some code after back button is pressed
- Android is starting optimizing... app 1 of 1
- How to change Android Button Color using xml attribute and programatically using java
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- How to make Android EditText not editable
- Make Android TextView Clickable like Buttons
- Unable to establish connection to adb : Android Studio Error
- Android Constant and Resource Type Mismatches Lint
- Android Shared Preferences API tutorial
- Fixing Android unknown error 961 while downloading app
- DDMS files not found hprof-conv.exe
- How to reset eclipse layout
- Android Developers Bluetooth Tutorial
- Android Studio Native typeface cannot be made error
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Multiline EditText in Android Example
- How to screenshot on Android?
- JavaScript : redirect page to other url
- Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration
- How To Disable Landscape Mode in Android Application
- Change Title text for Android Activity using java code
- Android : Class file collision: A resource exists with a different case
- Android Emulator Soft Back button action using Computer keyboard
- Device not compatible error Android Google Play Store
- ERROR x86 emulation currently requires hardware acceleration. Intel HAXM is not installed on this machine
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- Disable Fading Edges Scroll Effect Android Views
- Android : Unable to load VM from snapshot : Mac OS X Error
- Change Android EditText Cursor Height
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- How to add border to Android TextView
- Remove ActionBar from Activity that extends appcompat-v7
- How to send SMS on Android Emulator
- Android RatingBar Example
- This Toast was not created with Toast.makeText() : Android RuntimeException
- Android Studio Ctrl Shift o auto import not working
- Android : Duplicate registration for activity com.example.abc
- ADT Installation Error: requires plug-in org.eclipse.wst.sse.ui
- Running Android Lint has encountered a problem NullPointerException Error
- Android Emulator] ##KBD: Full queue, lose event Error Logs
- Export aborted because fatal lint error were found
- Android Parsing Data for android-L failed Unsupported major.minor version 51.0 Error
- Android : Accidental Octal Lint Warning
- Android ListView turns Black or Flickers while Scrolling
- How to make a dummy phone call from Android Emulator device
More Posts:
- Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Android
- Create assets folder in Android Studio - Android-Studio
- Make Android TextView Clickable like Buttons - Android
- Add imports in eclipse shortcut key combinations - Eclipse
- SharePoint error cannot connect to the configuration database - SharePoint
- How to hide quick launch in SharePoint - SharePoint
- MySQL #6 - Error on delete of './my-database/db.opt' (Errcode: 13 - Permission denied) - MySQL
- 11 Weeks of Android Online Sessions-15-Jun-to-28-Aug-2020 - Android
- PHP header location function not called - PHP
- Compare two files in Notepad++ - NotepadPlusPlus
- AlertDialog with no buttons (just text message) - Android
- How to Save Eclipse console logs in external log file - Eclipse
- How to Enable spellcheck Notepad++ - NotepadPlusPlus
- Center align text in TextView Android Programming - Android
- ADT Installation Error: requires plug-in org.eclipse.wst.sse.ui - Android