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.”
- What does “connection reset by peer” mean?
- Where is adb.exe in windows 10 located?
- Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
- 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
- ERROR Android emulator gets killed
- Android: adb pull file on desktop
- Change project name on Android Studio
- ADB No Devices Found
- Android device does not show up in adb list
- 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
- ADK vs JDK vs SDK difference?
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- 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
- ‘Source code does not match the bytecode’ when debugging on a device
- 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’
- Cannot resolve symbol “Intent”
- How to use su command over adb shell?
- What does “Failure [INSTALL_FAILED_OLDER_SDK]” mean in Android Studio?
- How to resolve the “ADB server didn’t ACK” error?
- 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
- Could not automatically detect an ADB binary – Android Studio
- Android Studio 1.2.1.1 – Failed to find style ‘textViewStyle’
- 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:
- Does anyone know the what’s causing “Package name is not a valid package name” when adding a new layout?
- How to completely uninstall Android Studio from windows(v10)?
- 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
- ADB error: cannot connect to daemon
- DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- Android Device not recognized by adb
- 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
- java.net.SocketException: Network is unreachable: connect
- Android ADB doesn’t see device
- E/AndroidRuntime﹕ FATAL EXCEPTION: main
- Android Studio – Company Domain Name
- How to add a jar in External Libraries in Android Studio?
- Installing ADB on macOS [duplicate]
- How to authorize and accept ADB RSA key with broken touch screen on Android
- Adb backup does not work
- why android studio show error of “Missing constraints in constraintlayout”?