adb error (error: protocol fault (couldn't read status): Invalid argument)

别说谁变了你拦得住时间么 提交于 2020-12-05 12:06:43

问题


I am unable to connect to my phone using adb. I am getting the following error:

D:\softwares\Development\Android\android-sdk-windows\platform-tools>adb devices -l
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: protocol fault (couldn't read status): Invalid argument

http://s18.postimg.org/7fdc8w9dl/screenshot_97.png

Previously i am getting this error in windows 8.1 then i have installed windows 10 and error resolved but now again i am unable to connect my cellphone with adb :(.

I am getting this error even if no device is connected.

Eclipse error:

[2015-10-24 13:25:02 - ddms] Failed to initialize Monitor Thread: Unable to establish loopback connection
[2015-10-24 13:25:02 - adb] error: protocol fault (couldn't read status): Invalid argument
[2015-10-24 13:25:02 - ddms] 'D:\softwares\Development\Android\android-sdk-windows\platform-tools\adb.exe,start-server' failed -- run manually if necessary

Update: Even adb tcp is also not working so i think this is not a driver issue.

ADB traces http://s24.postimg.org/mtfdwf3id/screenshot_99.png


回答1:


Just Restart PC and everything mean Android Studio and your android Device its working for me




回答2:


None of mentioned solutions work, seems like something wrong with windows, finally i ended up with resetting my windows 10 and issue resolved.




回答3:


In my case:

adb kill-server
adb start-server

:)




回答4:


As you may found in source code of ADB, something raised up this error:

     if (!ReadFdExactly(fd, buf, 4)) {
         *error = perror_str("protocol fault (couldn't read status)");
         return false;
     }

Try to export export ADB_TRACE=all

And rerun adb devices

With this env variable you will see much more info




回答5:


Simple fix, restart your computer and re-try :)




回答6:


In your task manager, find adb.exe > right click and End Process.

solved this way for me..




回答7:


i was also getting this error so how i solved it. i kill the adb process and start again. Steps:

 1 - go to **Task manager**(windows) you can press **ctrl+shift+esc** and task 
     manager will be opened.
 2 - find adb.exe and right click on it you will see a dialog box with "**End 
     process option** " click on it .
 3- Go to cmd and type **adb start-server** and it will start the adb again.



回答8:


run the adb.exe and then again try with this command i got same issue with my asus max pro m1 device after doing that



来源:https://stackoverflow.com/questions/33316006/adb-error-error-protocol-fault-couldnt-read-status-invalid-argument

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