且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尽管Android File Transfer已检测到设备,但Android ADB在Mac OS X中未检测到设备

更新时间:2023-12-04 18:37:52

最后解决了奇怪的问题:-

Finally got the weird problem fixed :-

您基本上需要将USB模式设置为PTP模式,而不是媒体传输协议(MTP)模式。

You basically need to set the USB mode to PTP mode instead of Media Transfer Protocol (MTP) mode.

通过USB设备USB图标和调试模式图标出现在设备状态栏上。

When I connected the device via USB the USB icon and Debugging Mode Icon appeared on the status bar on the device.

如果通过从顶部向下滑动来打开控制中心,则应该看到媒体设备MTP-点按以获取更多USB选项。点按它,然后将模式切换到发送图像(PTP)模式,它会询问您是否要启用USB调试。启用它,该设备现在应该已被ADB和Android Studio识别。

If you open control centre by swiping down from the top, you should see a "Media device MTP" - Tap for more USB options. Tap it and switch the mode to "Send Images (PTP)" mode and it should ask you if you want to enable USB debugging. Enable it and the device should be recognised by ADB and Android Studio now.

感谢您提供其他解决方案的时间。

Thanks for your time to those that offered other solutions.

欢呼