Androidstudio connects to the Night God simulator

1. Download the Night Simulator:

Official website download address: http://www.bignox.com/

Baidu cloud:

Link: https://pan.baidu.com/s/1ll4fNYi1B2yUDkdAo9QBPQ 
Extraction code: 4qll

After the installation is complete, run the emulator and find that the device is not displayed on the studio, what should I do?
 

1. Open the command line window.

2. Open the bin directory of the Yeshen installation directory (such as cd D:\developSoft\yeshen\Nox\bin).

3. Execute the command: nox_adb.exe connect 127.0.0.1:62001 to connect to the emulator. (If it shows that adb is not an internal command, see below ↓)

4. If Android Studio cannot connect to Yeshen, just restart the emulator.

When using the command it may show:

 The adb environment is not configured successfully. . . . .

In the real machine test of Android Studio app, adb can easily find Android devices. The full name of ADB is Android Debug Bridge, which is used to interact with Android devices. It can also be understood that ADB is a bridge between Android Studio connecting Android devices or a middleman to help manage your device or emulator

Solution:
1.
 After android 2.2, adb.exe is placed under the platform-tools directory of the SDK, find the path where adb is stored, and copy the absolute path of adb (for example: C:\softwaredevelop\SDK\Sdk\platform-tools )

 

 2.  This computer (right button) → properties → advanced system settings → advanced → environment variables, add adb environment variables

3. Check after configuration, Windows start key + R to open the command prompt -----> enter cmd to confirm -----> enter adb

 The adb environment configuration is complete~~~~

If the studio still shows that the device is not found, restart the command window and execute again:

nox_adb.exe connect 127.0.0.1:62001

 

Guess you like

Origin blog.csdn.net/NewActivity/article/details/121767595