我正在尝试将com.integralblue.HttpResponseCache兼容性库与我的 Android 应用程序一起使用。我已将其 jar 文件及其依赖项 复制com.jakewharton.disklrucache到libs我的项目文件夹中。
运行程序时,任何对 onHttpResponseCache的调用都会导致程序以NoClassDefFoundErroron失败com.jakewharton.disklrucache。这两个 JAR 都存在于 libs 文件夹中,并且可以导入。谷歌搜索完全没有出现。
NoClassDefFoundError当所有必需的 JAR 都存在时,我该如何解决?