1. Start a new app project in Hbuilder and put your code in
2. In Manifest.json set everything you want, icons, application name, description, portal page and so on, and then configure your program needs to use the module permissions, on-demand configuration, otherwise the volume will be too large and too redundant
3. Click anywhere on your project to select from the menu: Release-to-release as the native installation package
4. On-Demand selection, you want to release the version, generally iOS and Android dual platform are required, after all, this is the most common mixed development of the place AH
iOS packaging, support two ways: 1, requires a developer certificate to package, the app is packaged, you can set the UUID on the phone to install and run, 2, jailbreak package, you can only in the jailbreak menu fruit phone, to install the run.
Android packaging, also support two ways: 1, the use of public certificates, 2, the use of their own certificates. Regardless of which certificate is used, the app installation package can be installed and run directly on the Android phone.
The certificate generation tutorial can be consulted here: http://www.bcty365.com/content-146-5196-1.html?_t=t
As a front-end developer, we don't have to be specific about how to generate certificates.
AppID needs to be consistent with the profile, or the package will be an error.
5.APK can be run directly on the Android phone, iOS need to upload the application, I use the dandelion
First, in the place where you generate the certificate, you need to set the whitelist permission on your phone's uuid, and then upload your app to the dandelion.
https://www.pgyer.com/
First registered account, real-name authentication, and then upload the application, he will give you a download link, download after installation can
Installation may fail, may be a variety of reasons, I wish you success .... Off duty.
MUI Packaged app process