1. First go to download the required Jar Package 2. Copy the jar package to the App–>libs directory under project (no Libs directory creates a new one) as shown in the location:
3. Right-click the jar package and select the Add as library to bring up the following window:
4. Click OK to become the import success:
————————— I'm a split line ————————-
Or you can import it like this:
1. First go to download the required Jar Package 2. Copy the jar package to the App–>libs directory under project (no Libs directory creates a new one) as shown in the location:
3. Click the Project Structure button in the toolbar, such as:
4. Select dependencies, click the plus sign on the right, and select the second file Dependency, such as:
5. In the pop-up window, select the previously copied jar package:
6. Click OK to become the import success:
Import jar Package method in Androidstudio (Super verbose)