ExamGecko
Question list
Search
Search

Related questions











Question 331 - H14-231_V1.0 discussion

Report
Export

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
Answers
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 use Repositories {.}
Answers
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 use Repositories {.}
C.
Maven{ Url 'XXX' // Add a Maven repository address, which can be a local Maven address or a remote Maven address }
Answers
C.
Maven{ Url 'XXX' // Add a Maven repository 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.
Answers
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.
Suggested answer: B, C, D
asked 18/09/2024
Amy Sukkar
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first