Introduction to the Java project directory structure developed by HarmonyOS (basic knowledge of HarmonyOS development)

Java project directory structure

The Java project directory structure is shown in the figure below.

image.png

.gradle: Gradle configuration file, which is automatically generated by the system and generally does not need to be modified.

  • entry: The default startup module (main module), a directory used by developers to write source code files and development resource files.
  • entry>libs: used to store the dependent files of the entry module.
  • entry>.gitgnore: Identifies files that need to be ignored for git version management.
  • entry>build.gradle: The compilation configuration file of the entry module.
  • entry>src>main>Java: used to store Java source code.
  • entry>src>main>resources: used to store resource files.
  • entry>src>main>config.json: HAP manifest file, please refer to config.json manifest file introduction for detailed description.
  • entry>src>test: The directory for writing test files.

For more technical exchanges, please join the QQ group

Group name: harmonyos Hongmeng Technology Exchange
Group number: 856567895


Start from scratch to learn HarmonyOS Hongmeng 2.0 development

Guess you like

Origin blog.csdn.net/iCloudEnd/article/details/108586779