What we saw most on the internet before is in the Java Build path add jars, add External jars or add Library, in fact, these just can ensure that the compilation is not a problem, but when you run the program, will be error.
For example, this kind of error CALSS not found exception, error inflating class
About why this problem occurs, this is the eclipse design was decided at the outset, so we just need to follow their official steps to do it.
1. The first thing to look at is your own ADT version (but it should be adt17 later, since adt17 was out in 2012)
ADT17 before you need to create a Lib directory under the root directory and put the jar package under LIB, and right-click Add to build Path
After 2.adt17 is smart, you only need to create the Libs directory in the root directory and put in the jar package, it will automatically generate Android Private Libraries,
Success depends on whether the package imported in the order and export of Java Build Path has a checkmark in front ....
:
Finished Finishing ~ ~ ~
The correct steps for how to import third-party jar packages from an Android project in eclipse