简体   繁体   中英

Adb Error on “adb devices”

When I type in "adb devices", the output is "error: protocol fault (no status)". The adb functionality is broken in both Android Studio and Eclipse, so it's a problem with the connection, I believe. I tried to kill adb.exe from the Task Manager, but it's not listed in the processes. Any tips?

Try to open the this directory :

adt-bundle-windows-x86_64-20130917\sdk\platform-tools

Hold shift + right mouse click. Select open command prompt here.

After that,

in the command window type 

adb kill-server

and then

adb start-server

then,

adb devices

See if the adb is started and if your device is visible on eclipse or android studio .

My problem was my parental controls software. The adb.exe works fine with it disabled.

Same problem i faced in past, the solution worked for me is: Navigate to the plateform-tools(it is under SDK) and execute following commands on cmd.

  • C:\\Android\\android-sdk\\platform-tools>set ADB_TRACE=1

  • C:\\Android\\android-sdk\\platform-tools>adb start-server

I hope it will help you

更换您的USB电缆即可解决问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM