The steps to import the jar package and so package in Android studio are as follows:
1, in the same level of SRC directory to build a Libs folder
2. Copy the jar package or so package to the new Libs folder
3, Jar package, right click to select the Add as Library
4, if it is so package, find with the src sibling directory build.gradle, add the following red information, and then Build->rebuild project can
The steps to import the library in Android studio are as follows:
1. Create a Libraries folder under the project root directory to move the library project to the libraries directory you want to use
2, right-click the project name select Open Module setting, in the left panel select modules, in the middle of the panel above A + number, select you copy the project, and then in the module will appear this project
3, then select the main project in the Middle panel, and then on the right panel to select Denpendecies, on the right side of the panel appears a plus number, click the + sign, select the third module denpendecy you want to depend on the project
4. Pop up a dialog box to display your library project, select it, click OK, and then click Apply in the project structure panel
Android Studio Import jar package and library package