Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 71 Topic 8 Discussion

Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 71 Topic 8 Discussion

H14-231_V1.0 Exam Topic 8 Question 71 Discussion:
Question #: 71
Topic #: 8

The library file is the third-party code that the application depends, which are the correct ways to use the following library files?


A.

Create a new module with the source code of the library file as a whole, and the entry directly references the classes in the library file


B.

Put the library files in the libs directory in the form of jar, so, etc., and then reference the dependencies{Implementation project(:mylibrary)} through the build.gradle under the project

If the required library files exist in the maven repository, you can configure the project's build.gradle as follows to useRepositories {.}


C.

Maven{

Url 'XXX'

// Add a Mavenrepository address, which can be a local Maven address or a remote Maven address

}


D.

Put the library file in the libs directory in the form of jar.so, and then refer to the dependencies (Implementationproject(: mylibrary)) through the build.gradle of the application module.


Get Premium H14-231_V1.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.