androidstudio introduces jar package

As shown in the picture, select project
Insert image description here
and create a lib folder under src. Paste the jar package to be added to the project into lib, as shown in the picture. Then
Insert image description here
select the jar package, right-click, and a pop-up window will appear. Select Add As Library..., such as Figure
Insert image description here
A pop-up window will appear, click OK.
Insert image description here
The project build.gradle will introduce the project into the project by itself.
Insert image description here
Okay, it’s done here, bye~

Guess you like

Origin blog.csdn.net/qq_42221857/article/details/132320328