YIZ
YIZ
  • 发布:2018-12-11 12:46
  • 更新:2018-12-11 12:46
  • 阅读:1851

mac的HBuilder真机调试无法出现设备(我的一个特例)

分类:HBuilder

可能是我mac的原因,之前没用全局的,是失败的。

我先用全局adb
adb kill-server
再用HBuilder底下的adb来启用和查看。
./adb start-server
./adb devices

再重启用HBuilder, 便有了。

附:
HBuilder的adb目录位置:tools/adbs目录(MAC下为HBuilder.app/Contents/tools/adbs目录)
HBuilderX的adb目录位置:plugins/launcher/tools/adbs目录(MAC下为HBuilder.app/Contents/HBuilderX/plugins/launcher/tools/adbs目录)
在adbs目录下运行./adb kill-server重试。

0 关注 分享

要回复文章请先登录注册