If you have the situation where this keeps happening and killing and restarting still doesn’t work it may be a problem with your adb installation. I had to reinstall adb to resolve this problem:
- Reboot to ensure no instances of adb is running
- Launch SDK Manager in Android Studio: Tools->Android->SDK Manager
- Select the SDK Tools tab
- Deselect Android SDK Platform-Tools item
- Hit Apply
- Check the on screen logs to make sure the un-installation succeeded and that the SDK/platform-tools folder is empty.
This should completely remove adb from your SDK.
- Now re-select the Android SDK Platform-Tools item
- Hit apply
- Check the on screen logs that installation was successful.
I suspect in my case an update of the platform tools had failed perhaps because it failed to kill a running adb.exe and only a partial update was applied resulting in an unstable adb installation.
Related Posts:
- “unable to locate adb” using Android Studio [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- Set adb vendor keys
- Session ‘app’: Error Installing APK
- Android Studio: Unable to obtain result of ‘adb version’
- Android Studio doesn’t see device
- adb socket not working and daemon
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- Solving “adb server version doesn’t match this client” error [duplicate]
- Solving “adb server version doesn’t match this client” error [duplicate]
- What is AF_INET, and why do I need it?
- How to use adb command to push a file on device without sd card
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- Android ADB devices unauthorized
- adb is not recognized as internal or external command, operable program or batch file
- Enable VT-x in your BIOS security settings (refer to documentation for your computer)
- “Default Activity Not Found” on Android Studio upgrade
- Default Activity not found in Android Studio
- adb server is out of date. killing
- Android: adb pull file on desktop
- Change project name on Android Studio
- ADB No Devices Found
- adb shell su works but adb root does not
- Execution failed for task ‘:app:processDebugResources’ even with latest build tools
- how to overcome Android Studio cannot resolve symbol for android classes
- ADB Android Device Unauthorized
- C++ network programming
- Python [Errno 98] Address already in use
- Will setting a multicast destination address to FFFF.FFFF.FFFF make it a broadcast?
- How to create PPTP connection with Java?
- Execution failed app:processDebugResources Android Studio
- How can I use adb over WiFi?
- adb shell su works but adb root does not
- What’s causing my java.net.SocketException: Connection reset?
- Android ADB device offline, can’t issue commands
- Android Studio Run/Debug configuration error: Module not specified
- IllegalArgumentException: Unable to locate adb in Android Studio v2.3
- How to record Android device’s screen on Android version below 4.4 (KitKat)
- “Failed to install the following Android SDK packages as some licences have not been accepted” error
- Using ADB to capture the screen
- A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
- Android Studio AVD – Emulator: Process finished with exit code 1
- Python ConnectionRefusedError: [Errno 61] Connection refused
- Why is Android Studio reporting “URI is not registered”?
- No tests found for given includes Error, when running Parameterized Unit test in Android Studio
- Android Studio 3.2 – Could not find com.android.tools.build:aapt2:3.2.0-4818971
- Getting error “The package appears to be corrupt” while installing apk file
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- adb command not found
- How to print to the console in Android Studio?
- “cannot resolve symbol R” in Android Studio
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Android Studio : How to uninstall APK (or execute adb command) automatically before Run or Debug?
- Error getGoogleAppId failed with status: 10 Android KitKat – GCM and Google Drive
- PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- What does “Failure [INSTALL_FAILED_OLDER_SDK]” mean in Android Studio?
- Why emulator is very slow in Android Studio?
- Android Studio SDK location
- Android Studio SDK location
- Android Studio-No Module
- Android Device not recognized by adb
- Application Installation Failed in Android Studio
- First run of Android Studio. Unable to access Android SDK add-on list
- Why AVD Manager options are not showing in Android Studio
- ADB stopping at (waiting for devices)
- Android Studio: “Execution failed for task ‘:app:mergeDebugResources’” if project is created on drive C:
- Android Studio ERROR: Cannot resolve symbol ‘View’
- Android: adb: Permission Denied
- Gradle error: Write access is allowed from event dispatch thread only in Android Studio
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- Android SDK location should not contain whitespace, as this cause problems with NDK tools
- Unsupported major.minor version 52.0 when rendering in Android Studioandroid android-studio rendering preview
- Android ADB doesn’t see device
- E/AndroidRuntime﹕ FATAL EXCEPTION: main
- How to add a jar in External Libraries in Android Studio?
- Adb backup does not work
- Remove Project from Android Studio
- Android SDK path not specified
- Error: Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added in the extended…
- Getting the IP address of the current machine using Java
- How to solve failed to find build tools revision 26.0.2?
- Cannot resolve symbol ‘AppCompatActivity’
- How do I “select Android SDK” in Android Studio?
- Change the project theme in Android Studio?
- How to disable Instant Run for Android Studio 3.0
- USB Debugging option greyed out
- Cannot resolve symbol ‘AppCompatActivity’
- How to open adb and use it to send commands
- Android Studio – Emulator – eglSurfaceAttrib not implemented
- Re-enable “component tree” in Android Studio
- How fix Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
- INSTALL_FAILED_NO_MATCHING_ABIS when install apk
- “Gradle Version 2.10 is required.” Error
- What is the meaning of “sin_addr.s_addr ” and “inet_addr”?
- HAX kernel module is not installed
- Failed to find style ‘coordinatorLayoutStyle’ in current theme
- SDK Location not found in android studio
- Android Device not recognized by adb
- Not able to access adb in OS X through Terminal, “command not found”