Questions about using third-party jar packages in Android development:
is usually packaged in a jar package, then copy to the project below the Libs package can be.
If there are two ways to import the source code:
Method One:
Click on the Project right click Properties shortcut key Alt+enter
Then select Android then select Add on the bottom right and select the jar package that needs to be imported of course the source package must be guaranteed to check the is library (check method: Right-click on the lower middle of the project-android a single box, choose to indicate that the project works as a third-party package)
Import Diagram:
Import succeeded:
Then click Apply to click OK on the line. You can use this third-party package in your project.
Note: You must ensure that the third party package and your project in the same workspace, or after the successful import, and then come in to see the time will become such as: a red fork
Method Two:
Right-click your development project, tap build path, click Configure build path and then the dialog box appears, select Projects on the right, click Add to add a third-party package to the source project such as:
Then select order and export to tick the package you just imported, and click OK to use it in the project.
Third-party packages are referenced during Android development