Building Android Quick App
Use the npm config set xxx command.
Graphical Build
Add Build Android Quick App, when configuring build actions.
The parameters are described in the following table.
| Parameter | Description | ||||||
|---|---|---|---|---|---|---|---|
| Action Name | Name of a build action. It can be customized. | ||||||
| Tool Version | Select a build tool version. | ||||||
| Commands | Configure commands. The following is an example of using the debug signature for packaging. To sign a quick app, perform the following steps:
|
Code-based Build
1 2 3 4 5 6 7 8 9 10 11 | version: 2.0 # The value must be 2.0. steps: BUILD: - quick_app: inputs: command: |- npm config set registry http://7.223.219.40/npm/ # Load dependencies npm install --verbose # Default build npm run build |
| Parameter | Type | Description | Mandatory | Default Value |
|---|---|---|---|---|
| command | String | Commands to be run. | Yes | None |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot