Why does adb return offline after the device string?

后端 未结 20 1376
误落风尘
误落风尘 2020-12-07 21:54

I use \"adb devices\" to get following result. Only one device is connected to PC by USB, but we get 8 lines of result.

Could anyone suggest the reason?

<         


        
20条回答
  •  被撕碎了的回忆
    2020-12-07 22:44

    Had this on client's machine it turned out he had an out of date version of adb installed via website offering adb and fastboot. The client in question didn't want to install the whole SDK because of perceived bloat :S .

    So if you're seeing offline make sure you've downloaded and using the latest adb. I ended up emailing him adb executable.

    Also worth checking that the adb you are using is the correct one in the Path. i.e on Mac

    $ which adb
    /Users/me/dev/adt-bundle-mac-x86_64/sdk-macosx/platform-tools/adb 
    

提交回复
热议问题