首先,启动HBuilder和夜神模拟器
然后打开cmd命令提示符
cd进入夜神模拟器bin目录
执行以下命令
nox_adb connect 127.0.0.1:62001:
执行结果:
D:\yeshen\Nox\bin>nox_adb connect 127.0.0.1:62001
adb server is out of date. killing...
* daemon started successfully *
connected to 127.0.0.1:62001
nox_adb devices
执行结果:
D:\yeshen\Nox\bin>nox_adb devices
List of devices attached
127.0.0.1:62001 device
然后cd进入HBuilder的tools目录
执行以下命令
adb connect 127.0.0.1:62001
执行结果:
D:\HBuilder\tools>adb connect 127.0.0.1:62001
adb server is out of date. killing...
* daemon started successfully *
connected to 127.0.0.1:62001
adb devices
执行结果:
D:\HBuilder\tools>adb devices
List of devices attached
127.0.0.1:62001 device