目录

How do I use the .so library functions in an existing project for a new project?

You can build the project that contains the .so library into a HarmonyOS Ability Resource (HAR), install the HAR in the new project, and import the .so library functions to the new project.

Reference

HAR

Developing and Referencing Shared Packages