-
-
(1)直接使用OkGo.get下载文件时无法设置缓存的大小,程序里直接开了个8M的缓存,期望能增加自定义缓存大小。
(2)ProgressRequestBody对RequestBody做了包装,但是对FormBody没有包装,导致在拦截器里无法访问FormBody里的name和value等相关方法。期望能对FormBody包装一下。
-
Please complete the following informations.
> Expected behavior and actual behavior.
> Steps to reproduce the problem.
> Android or iOS? OS version? Brand?
> More informations such as error messa…
-
Hi there, when I was reading the code of the function "public static Object toObject(byte[] input)" in Android/java/doraemonkit/src/main/java/com/didichuxing/doraemonkit/okgo/utils/IOUtils.java, I fou…
-
java.lang.NullPointerException: Attempt to invoke virtual method 'com.lzy.okgo.request.base.Request com.lzy.okgo.request.base.Request.headers(java.lang.String, java.lang.String)' on a null object refe…
-
使用OKGO无法使用body提交参数,Content-Type:application/x-www-form-urlencoded
OkGo.post(url)
.tag(url)
.headers("Content-Type", "application/x-www-form-urlencoded")
…
-
java.lang.ExceptionInInitializerError
com.lzy.okgo.db.CacheManager$CacheManagerHolder.access$000(CacheManager.java:40)com.lzy.okgo.db.
Caused by: android.database.sqlite.SQLiteDatabaseLockedExceptio…
-
at com.lzy.okgo.cache.policy.BaseCachePolicy$1.onResponse(BaseCachePolicy.java:163)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:…
-
Caused by: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode
at android.database.sqlite.SQLiteConnection.nativePrepareStateme…
-
W/System.err: com.lzy.okgo.exception.OkGoException: breakpoint file has expired!
W/System.err: at com.lzy.okserver.download.DownloadTask.run(DownloadTask.java:281)
W/System.err: at com.lzy.o…