-
使用OkGo上传文件:
Server是本地Tomcat,出现异常:
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
com.lzy.okgo.exception.HttpException…
-
I/HttpRequestHelper: updateEscortMissionState: ff8080816753d1d90167586d1fc00b80
3
2018-11-28 14:02:20
11-28 14:02:20.796 10426-11116/com.yunjisoft.huyunhuanyu W/OkGo: --> POST http://www.10…
-
使用最新版的okgo进行双向认证请求,发现连续请求两次,第二次请求非常慢
![_15193622543164](https://user-images.githubusercontent.com/13416741/36578761-4b13ab4a-189a-11e8-8294-097d9786c676.png)
请求的接口都是一样的,IOS那边没有问题。
旧版的OkHttpUtils也没有…
-
Cannot cast 'okhttp3.CookieJar$1' to 'com.lzy.okgo.cookie.CookieJarImpl'
-
com.lzy.okgo.request.base.ProgressRequestBody cannot be cast to okhttp3.FormBody
-
自定义了LoggerInterceptor ,但是没起作用
```
OkHttpClient.Builder builder = new OkHttpClient.Builder();
builder.addInterceptor(new LoggerInterceptor("OkGo"));`
```
```
` private Response logForResponse…
-
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.lzy.net:okgo:3.0.4.
-
你好,我在正常使用时没有问题,但是最近一个需求是需要把data/data/ 这个默认路径下的okgo.db文件迁移到sd卡的路径上保存,之后的DBHelper类里面的DB_CACHE_NAME也是设置的sd卡上的一个路径,在设置这一切之前会先获取读写的动态权限,获取成功之后才会做这些事情,否则用原来默认的。
但是在Android Studio 上的android 9.0(经初步测试后只发现9.0…
-
应用正式上线,想关闭默认的log打印,请问有API接口吗?
-
OKDownload下载大文件崩溃,崩溃日志如下
Process: com.lzy.demo, PID: 8202
java.lang.OutOfMemoryError: Failed to allocate a 188269544 byte allocation with 16777216 free bytes and 157MB until OOM
at java…