“adb install” returns error: protocol fault (no status)

假装没事ソ 提交于 2019-12-01 08:39:48

“adb install” returns error: protocol fault (no status) :

Solution is

Goto \platform-tools using Terminal and execute below commands

set ADB_TRACE=1
adb start-server

To remove emulator from list of ADB Devices :

Open "Android Virtual Device Manager" -> Select the Emulator which you want to delete -> click on Delete button.

See below Image

For me it turned out to be an outdated ADB service (outdated Platform-tools).
It still could be an outdated driver, but since the drivers aren't updated most of the time, make sure you've installed the latest version of your Android SDK Platform-tools via the SDK Manager:

I also read that the problem could appear, when you install the Android Studio. Then you have to disable the ADB integration via "Tools -> Android" (uncheck). After that, restart you adb server by using adb kill-serveror simply restart your computer.

I ran into it because there was more than one ADB device connected.

Disconnecting all but the device I was working with worked for me.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!