Nox App Player无法与Android Studio连接
问题描述:
现在,我要转到命令提示符并转到Nox App Player安装路径下的bin文件夹,然后输入以下命令:nox_adb.exe connect 127.0.0.1:62001
.
Now I am going to command prompt and go to the bin folder under the installation path of Nox App Player, and I input this command: nox_adb.exe connect 127.0.0.1:62001
.
答
您需要找到正确的端口并使用它.我遇到了同样的问题,所以这就是我所做的.
You need to find the correct port and use it. I faced the same problem so here is what I did.
-
杀死服务器:
Kill the server:
nox_adb.exe kill-server
现在尝试连接任意端口号,例如62001:
Now try to connect on any port number, say, 62001:
C:\Program Files (x86)\Nox\bin>nox_adb.exe connect 127.0.0.1:62001
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
unable to connect to 127.0.0.1:62001:62001
现在尝试使用上面输出中提到的端口5037:
Now try to use port 5037 as mentioned in the output above:
C:\Program Files (x86)\Nox\bin>nox_adb.exe kill-server
C:\Program Files (x86)\Nox\bin>nox_adb.exe connect 127.0.0.1:5037
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 127.0.0.1:5037
那应该可以正常工作.