Related questions
Question 348 - H14-231_V1.0 discussion
The library file is the third-party code that the application depends on, which of the following library files are correct?
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 dependencies{Implementation project(':mylibrary ') } through the build.gradle under the project
C.
If the required library files exist in the maven repository, you can use repositories{Maven{Url 'XXX'// to add the project's build.gradle as follows The address of the Maven repository, which can be either 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 reference the dependency library through the build.gradle of the application module dependencies(Implementation project(':mylibrary'))
Your answer:
0 comments
Sorted by
Leave a comment first