Choose Project > Build. In the Build window, enter the release information and click Build. The RPK file is generated in the \build\huawei\dist directory of the quick game project.

For LayaAir 2.8.0 or later, package your quick game by referring to Huawei Quick Game Access and Release Debugging Guide.
If Node.js is not installed or the Node.js version is earlier than 6, visit the Node.js official website to download and install it.
// node {signing tool path} {signature directory} {target directory} {package name} {private key} {certificate}
node .\signtool\package\index.js .\web .\dist com.demo .\release\private.pem .\release\certificate.pem 
If your EgretLauncher is 1.2.1 or later and the engine version is 5.3.9 or later, package your quick game by referring to the packaging guide.
If Node.js is not installed or the Node.js version is earlier than 6, visit the Node.js official website to download and install it.
// node {signing tool path} {signature directory} {target directory} {package name} {private key} {certificate}
node .\signtool\package\index.js .\build .\dist com.demo .\release\private.pem .\release\certificate.pem 
The save paths of the release directory, signtool directory, and buildrpk.bat script in the current project must be the same as those in local egret_project_demo.
