Can't find android device using “adb devices” command

后端 未结 16 1057
梦如初夏
梦如初夏 2021-01-30 00:49

I am developing Android application on macOS and my application runs well on the emulator. I want to run it on the device, but when I run adb dev

16条回答
  •  滥情空心
    2021-01-30 01:26

    If you're struggling with such an issue using Lollipop (Android 5.*) probably you guys should do one simple step that I'd done before my ADB (I use Ubuntu) got my phone:

    Change USB PC connection type to "Send images(PTP)" (before I've been using "Media device(MTP)")

    Just like this:

    Screenshot

    And don't forget to activate checkbox "USB debugging".

提交回复
热议问题