1

4.0 以降では正常に動作する 1 つの Android アプリを開発しましたが、バージョン 2.3.4 になると、Responcecache に関する例外が発生します。私はgithubに従いました:- https://github.com/candrews/HttpResponseCache .2.3.4および2.3.6で実行されている例外を下回っています。

FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: com.jakewharton.DiskLruCache
at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpResponseCache.<init>(HttpResponseCache.java:83)
at com.geeklabs.footmark.util.HttpResponseUtil.enableHttpResponseCache(HttpResponseUtil.java:41)
com.integralblue.httpresponsecache.HttpResponseCache.install(httpCacheDir, httpCacheSize);
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

この問題を解決する方法を教えてください。

4

2 に答える 2