Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将在我的 android 应用程序中使用SkyEpub 3 库来阅读 epub 格式的电子书。为了熟悉使用 SkyEpub 的方法,我从这里下载了它的 android 演示项目。它的演示项目工作正常,但是当我在自己的项目中使用 skyepub.jar 时,它说 jar 文件中的一些方法和类未定义。当然,与此同时,我正在使用该库的未授权版本。如果没问题,我想在购买许可证之前对其进行测试。我怀疑这些错误是因为在我的项目中使用了未经许可的库版本。谁能告诉我到底是什么问题?
先感谢您。
我发现了问题所在。我在eclipse中增加了jar文件的优先级。现在它起作用了。
因为在示例项目中有很多不在jar中的类。在示例中,他们通过从 jar 扩展另一个类来创建许多类。我以前用过这个罐子。