After updating my android studio, I am not capable of anymore running applications on my mobile device because of that error.I need this help.
Can you try to restart the adb server via Tools -> Android -> Restart Adb Server? It might be worth updating the Android platform-tools on your computer manually using the SDK manager to the latest version. You might have an old version of adb that is failing in some way.
adb is included in the Android SDK Platform-Tools package. You can download this package with the SDK Manager, which installs it at android_sdk /platform-tools/ . Or if you want the standalone Android SDK Platform-Tools package, you can download it here.
Your adb connection has hanged out. Open a console terminal and write adb kill-server
and adb start-server
.
Here's how I solved:
I went toC:\Users\\AppData\Local\Android\Sdk and deleted "platform-tools". Afterwards I installed a new "platform-tools": platform-tools_r27.0.1-windows" (I downloaded it here but you may find in another place http://mirrors.zzu.edu.cn/android/repository/platform-tools_r27.0.1-windows.zip)
That means that the new sdks might not be working for me because I am using "compileSdkVersion 27" in gradle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With