Hbuilder Configuration Recognition MEmu Android Emulator

Recently in the company, I need to develop a smart home APP, using the MUI framework, the first is to build the environment, how to run the written APP page on the simulator?

The first one I used was the Hippocampus emulator. This emulator was easily recognized by Hbuilder. However, the startup was too slow and problems often occurred. Later, I found a MEO Android emulator on the Internet. I feel pretty good now, and the startup is very easy. quick

1. First open the vt support of Bios

You can refer to similar articles online: https://jingyan.baidu.com/article/e4511cf37d5ad82b855eaf48.html

2. After installing the emulator, the configuration is as follows:

> The three files adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll in the tools folder in the HBuilder installation directory are transferred to MEmu in the Xiaoyao simulator installation directory (overwrite)

 

 

> Modify the HBuilder third-party simulator port to 8020-21503

 

 

3, start adb

Enter the directory D:\Program Files\Microvirt\MEmu where MEmu emulator adb.exe is located, and start adb from the command line to connect to port 21503
Command: adb connect 127.0.0.1:21503

It will prompt that the connection is successful. At this time, hbuilder can recognize the simulator.

If it doesn't work, you may need to restart MEmu Android Emulator and HBuilder

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324901410&siteId=291194637