[Xiaobai grows daily] How to run HBuilder X app to MuMu simulator tutorial

[Xiaobai grows daily] How to run HBuilder X app to MuMu simulator tutorial

Go to NetEase official website to download MuMu simulator

1. Open the MuMu simulator;

2. Run the app in HBuilder to the simulator, the following situations occur; Insert picture description here
3. Go to the installation directory of HBuilder, find the directory where adb sits, and copy its path;
Insert picture description here
4. Configure environment variables;
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
5. Run cmd with "Win+R" ;
Insert picture description here
6. View the adb version (adb version)
Insert picture description here
7. Use the adb command to view the list of connected devices (adb devices)
List of devices attached
Insert picture description here
8. Use the adb command to connect the emulator to the computer (adb connect)
MuMu port The number is 7555.
Insert picture description here
9. Check the connected device. At
Insert picture description here
this time, it is found that the simulator can be detected in HBuilder.
Insert picture description here

If you find the above trouble, you can directly click "Tools" -> "Settings" -> "Run Configuration", and change the Android emulator port to MuMu port number 7555. The Insert picture description here
following are common emulator ports Yeshen
emulator port Number: 62001
Seahorse Play Emulator Port Number: 26944
NetEase MuMu Emulator Port Number: 7555
Tiantian Emulator Port Number: 6555
AndroidStudio comes with Simulator Port Number: 5554

Guess you like

Origin blog.csdn.net/qq_41870483/article/details/106456202