我的领域设备不是在Mac上作为ADB设备连接,而是在Windows上流利地连接
设备在Windows上完美连接,但在MAC设备上没有要求信任此设备并在运行ADB设备时显示脱机的权限,我的手机是Realme 9 Pro Speed Adad, 我尝试在多个MacBook上尝试,但仍未连接,也尝试在每个Windows设备上成功连接的不同Windows笔记本电脑上尝试过。试图更换电缆,重建服务器,下载了最新的平台工具。
device is connecting perfectly on windows but not on mac devices is not asking permission to trust this device and showing offline while running adb devices command my phone is realme 9 pro speed addition,
i have tried on multiple macbook but still not connecting , also tried on diffrent windows laptops connected succesfully on each windows device. tried changing the cable , resarting server, downloaded latest platform-tools..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在Realme Master GT上也有类似的问题,在我的情况下,解决方案是通过ADB无线连接的。此功能在Android 11中宣布。
IP:port = 192.168.150.120:37181
pairing_code = 188231
ADB对[IP:port] [pailing_code]
- 示例:adb Pair 192.168.150.120:37181 188231 188231
> ADB Connect 192.168.150.120:37181
ADB设备
上次命令后,您的设备应正确列出,并准备运行
npm npm React-native-narive-narive-narive-narive-and Android
:)I had similar issue on Realme Master GT and in my case solution was connecting wirelessly by adb. This feature was announced in android 11.
ip:port = 192.168.150.120:37181
pairing_code = 188231
adb pair [ip:port] [pairing_code]
- example:adb pair 192.168.150.120:37181 188231
adb connect 192.168.150.120:37181
adb devices
After last command your device should be properly listed and ready to run
npm react-native run-android
:)连接数据电缆后,从USB选项中选择“传输照片”。它将连接在ADB上。
Select "transfer photos" from usb options after connecting data cable. It will be connected on ADB.