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

后端 未结 3 1575
醉梦人生
醉梦人生 2021-01-14 11:10

I have created and ran a couple of android emulators, now I\'d like to install application on them. Here is the story of me trying it a couple of times:

$ ad         


        
相关标签:
3条回答
  • 2021-01-14 11:52

    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.

    0 讨论(0)
  • 2021-01-14 12:05

    “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 enter image description here

    0 讨论(0)
  • 2021-01-14 12:05

    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: Android 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. Android Studio

    0 讨论(0)
提交回复
热议问题