我通过将.jar文件放入/ libs文件夹并添加了Project-> Properties-> Android-> Add,为我的android项目添加了一个库。问题是我无法导入一个静态公共内部类。 Eclipse只是向我展示了这种类型的错误:
GraphViewSeriesStyle cannot be resolved to a type
The import com.jjoe64.graphview.GraphViewSeries.GraphViewSeriesStyle cannot be resolved
我已经尝试了所有这些方法来解决它,但没有帮助:
Gson NoClassDefFoundError after ADT and SDK Tools update to v17
Why do I get a NoClassDefFoundError on Android after adding a JAR via Eclipse?
android can't find class from external jar
有任何建议如何解决?