harmony 鸿蒙Multi-HAP Build View
Multi-HAP Build View
DevEco Studio allows you to develop and build multiple HAP files in one application project, as shown below.
Figure 1 Multi-HAP build view
Development view in DevEco Studio
AppScope folder
- app.json5: stores application-wide configuration, such as the application bundle name, version number, application icon, application name, and dependent SDK version number.
- resources folder: stores application icon resources and application name string resources.
NOTE
- The folder is automatically generated by DevEco Studio and its name cannot be changed.
- The file names in the AppScope folder cannot be the same as those in the entry- or feature-type module folder. Otherwise, an error will be reported.
entry or feature folder (whose name is customizable)
- A module folder created by the developer by following the creation wizard of DevEco Studio. It stores the service logic implementation of the application. Multiple module folders can be created. In the preceding figure, entry and feature are two created module folders.
- resources folder: stores the resources used by the module.
- ets folder: stores the service logic.
- module.json5: stores module configuration, such as the module name, entry code path of the module, and component information.
View after build and packaging
- After a module is built, a HAP file for deployment is generated. Each module corresponds to a HAP file.
- The module.json file in the HAP file is composed of the app.json5 and module.json5 files in the development view.
- All HAP files are finally built into an Application Package (App Pack) in .app format for release to the application market.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙app.json5 Configuration File
harmony 鸿蒙Internal Structure of the app Tag
harmony 鸿蒙Application Configuration File Overview (FA Model)
harmony 鸿蒙Application Configuration File Overview (Stage Model)
harmony 鸿蒙Application Installation and Uninstallation Process
harmony 鸿蒙Application Package Overview
harmony 鸿蒙Application Package Structure in FA Model
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦