Version: 1.3
语言 : 中文
Build your application for OpenHarmony
Optimize distribution size

Export an OpenHarmony project

If you need more control over the build pipeline, you can export a Tuanjie project as a hvigor project and import that into DevEco Studio. This is useful if you want more control over the build pipeline, want to see or modify the OpenHarmony App Module that Tuanjie generates for your application.

Exporting

To export a Tuanjie project for DevEco Studio:

  1. Select File > Build Settings.
  2. From the list of platforms in the Platform pane, select OpenHarmony.
    Note: If OpenHarmony is greyed out, set up your project for OpenHarmony development.
  3. Enable Export Project.
  4. Click Export.
  5. Select the destination folder and click Select Folder to start the export process.

After Tuanjie exports the hvigor project, you can import the hvigor project into DevEco Studio. For information on the file structure of the exported hvigor project, refer to Hvigor project structure.

Other resource

Build your application for OpenHarmony
Optimize distribution size