uniapp HBuilderX install MuMu Simulator 12 base June 2023 latest test valid

1. Download the MUMU simulator

MuMu emulator official website_Android 12 emulator_NetEase mobile game emulator   download MUMU emulator 12

2. Find the corresponding path in the folder where you installed HBuilderX

\HBuilderX\plugins\launcher\tools\adbs

3. Run the simulator after installing MUMU simulator 12

Find "About Phone" in the "Settings" of the emulator, then go in and find the "Version Number" position, click "Version Number" 9 times in a row, you will be prompted to enter the development mode, OK just open the emulator like this.

Note :

After mumu emulator 12 enters the developer mode, find "system" in the settings, enter and you will see "developer options", there is no need to operate anything here.

In the developer options of mumu emulator 6, you can see that "USB debugging" is manually turned on and off, but 12 does not need to be operated.

4. Open HBuilderX

1. Find "Run" > Run to Phone or Emulator > Android Emulator Port Settings

2. Enter   the path found by  HBuilderX  opened in the second step above, and fill in 7555 for the emulator port number (used by the MUMU emulator)

3. Right-click on your computer, "My Computer" and click "Properties" (the computer is different, according to your own, anyway, just open the properties)

 Advanced System Settings > Advanced > Environment Variables > System Variables to find Path, add the path of HBuilderX in the second step to Path, and then "OK" all the way. Note: English should be used in front of the appended path; it should be separated from the previous one.

5. Close HBuilderX and reopen it, select menu "Run" to run to the Android App base

Some people's software will directly display the name of the dock here, but mine still shows "running to the Android App dock", it doesn't matter

If you open it like the picture below, you can see that 127.0.0.1:7555 is already running in the project, congratulations on your success.

 else, the red words show that the base is not detected, and there is no ip:port content below, so please continue to read.

 6. Open CMD  

1. Enter adb version and press Enter to run

If the version number of Android Debug Bridge version is displayed (congratulations, you have succeeded here for the time being)

2. Then enter adb connect 127.0.0.1:7555 and press Enter to run (wait for a while)

3. Close HBuilderX and reopen it, and then follow the fifth step. Basically it will be successful.

Note: Originally, I saw a friend operate in the following order, but I just cut off the beginning and the end. It was also a success.

1、adb version

2、adb kill-server

3、adb start-server

4、adb connect 127.0.0.1:7555

After I reinstalled the software, the emulator dock was not detected. Many friends have similar problems, so I recorded my practical experience and shared it with friends in need.

Please leave a message if you have any questions, and I will try my best to reply. shake hands!


 

Guess you like

Origin blog.csdn.net/weixin_37599857/article/details/131102094