1. Download third-party jar packages
2, create a libs directory under the Android project (name is not fixed, you can take other names completely)
3. Right-click on the Libs directory in Eclipse, select Import, General, File System, select the directory where the jar package is located, and select the jar package in this directory
Note: You have successfully added the jar package to the project until this step (but not yet recognized by Android virtual machine), so if you use the class in the Jar package, the compilation will fail.
4. Right-click on the project name and select Build path, Configure build path, select the Library tab. Click Add jars on the right to select the jar package under the Libs directory
Note: This step helps the Android virtual machine to process the previously added jar package
Theoretically this step should be able to use the normal, but if you go to this step debugging will be wrong, you can try right-click on the Libs directory, choose Build path–> Configure as source folder, Basically, you can use the third-party jar package as usual to continue your Android development journey.
about how to correctly add a third-party jar package to an Android project