可能是我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 个评论
要回复文章请先登录或注册