Problems encountered in the process of VUE packaging APP (HBuilder packaging method)

Everyone knows that the VUE project is packaged into an APP through HBuilder X. Refer to the steps: Use HBuilderX to package the vue project into an app

During the packaging process, you will find that: Checking the old version of DCloud officially (I use HBuilder X2.8 or higher) requires real-name system, which is more troublesome. I don't want real-name system. After real-name system, what will happen. Then I chose the "Use public test certificate" option, and found that the packaging process still failed. What accounts are required to be opened, and may be paid for:

The above method does not work, there is no way, I just choose "Use my own certificate", that is, make the certificate by myself. This official website clearly states: Android certificate generation is self-service and free, and does not require approval or payment .

 Or a third-party fool-style automatic certificate generation : https://www.yunedit.com/createcert  (not tried)

 

For the method of making the certificate, check the official website method 1: https://ask.dcloud.net.cn/article/35777

The official website roughly summarizes 3 steps:

step 1:

The approximate process is as follows: The last step is to choose: "Yes", choosing the other will cycle you to enter the previous content

Check whether the new creation is successful, the alias is entered in the above picture, you can modify what you want

If the generation is successful, HBuild will prompt you that the certificate generation path is in: D:/test.keystore, you only need to upload it

Step 2:

Just import your generated certificate, the content is as follows, the name and password are what you just entered (see the official document ).

It will be prompted after successful packaging. .

Step 3:

Check the cloud packaging status, then download, click "Run" ----> "Native APP-view cloud packaging status"

Check the download address in the console of the HBuilder X tool and click download.

 

Official website method 2: https://ask.dcloud.net.cn/article/36522  There is also a public certificate download. You can download it directly

The package modification is as follows:

The other methods are as above.

 

A few things to note about the configuration of the packaging process, this is not filled in randomly, it needs to be configured on the official website:

https://dev.dcloud.net.cn/cloudbuild/count  Add via this URL

Guess you like

Origin blog.csdn.net/bbs11007/article/details/113124020