Version: 1.3
语言 : 中文
Export an OpenHarmony project
Digital distribution services for OpenHarmony

Optimize distribution size

Some digital distribution services have a limit on the initial install size of your application. Tuanjie includes the following methods to help you to optimize the install size:

Split haps by target architecture

If your output application uses Hap format, the Split haps by target architecture Player Setting optimizes the application download and installation size. Instead of producing one Hap that contains binaries for every target CPU architecture selected in the Target Architectures Player Setting, Tuanjie creates a separate Hap for each CPU architecture. You can upload this set of haps to digital distribution services which serve the Hap with the correct target CPU architecture to each device that downloads your application.

Compression

You can change the method Tuanjie uses to compress resource files for the application. This can reduce the size of the application but can increase loading times if the method means data takes longer to decompress.

For more information, see Compression Method.

Export an OpenHarmony project
Digital distribution services for OpenHarmony