After installing the simulator, you need to use the adb command Android studio to identify it.
Open cmd and enter: adbconnect127.0.0.1:26944. As follows:
The port number of Haima Play Simulator is 26944.
The port number of Xiaoyao Android emulator is 2 1503. (I am free to use it)
The port number of Night God playing simulator is 6200 1.
Other simulators are the same, just know the port number, and then go to Android studio to run.
If adb appears when cmd enters a command, it is not an internal or external command, nor is it a runnable program or batch file.
The command to run is actually a adb.exe file. Just add the file path where adb.exe is located to the environment variable.
Add D:\android\SDK\\platform-tools to the value of the environment variable name path (the path depends on the installation location of your android sdk), because adb.exe is located in the platform-tools directory.