Technology Sharing

(Detailed explanation with pictures and text) How to apply for AppID of mini program and run it in Hbuilderx

2024-07-11

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Today, the editor will show you how to apply for APPID. If you are a developer of a mini program, you must have this ID.

Application Steps

Go to the Mini Program registration page and register a Mini Program account

Micro-channel public platform

After filling in the information, submit the registration

You will receive a link to confirm your account activation in your email. After opening the link in your email, you will be prompted to enter your real name information.

After registration is complete, log in to the mini program backend:

WeChat public platform ​mp.weixin.qq.com/

Log in with the email address registered above

In the menu "Development" - "Development Management" to see the appletAppID.

Hbuilderx Run applet

After importing the project, we open the manifest.json file and modify the AppID of the mini program.

We run the selection to the applet simulator

When selecting WeChat Developer Tools, if it is not installed, you will be prompted

Go to the specified path to download, download according to your computer

After downloading, go directly to the installation

Then select the installation directory in hbuilderx

Run again, if an error occurs:

[WeChat Mini Program Developer Tools] × #initialize-error: Error: ENOENT: no such file or directory, open 'C:UsersPC6AppDa......

We manually open the WeChat development tool, enter the settings, and open the service port

Then we run it in hbuilderx again, and the WeChat developer tool will automatically pop up and run:

At this point, the project is complete.

Conclusion

I am sharingGood things tutorial source codeLao Luo, welcome to follow, there will be more exciting source code sharing later!