NoHttp icon indicating copy to clipboard operation
NoHttp copied to clipboard

:lemon: Android实现Http标准协议框架,支持多种缓存模式,底层可动态切换OkHttp、URLConnection。

Results 76 NoHttp issues
Sort by recently updated
recently updated
newest added

nohttp怎么适应MVP的开发模式

![image](https://user-images.githubusercontent.com/7459297/41389528-edbc01b4-6fc3-11e8-91a5-88b59652879e.png)

``` compileSdkVersion 28 defaultConfig { targetSdkVersion 28 ``` 当项目的build.gradle配置sdk 28时,无法请求`http://`协议的连接

引用NoHttp进行网络请求时,第一次加载速度很快,请求完毕后保持app打开状态,然后等个几分钟,再刷新请求或者打开一个新页面请求,会一直卡在请求状态中,然后等一会提示连接超时,我引用的是这个版本的:implementation 'com.yanzhenjie.nohttp:nohttp:1.1.8',之前用的1.0.4倒没这个问题,升级后就有这个问题啦

![_20180510165544](https://user-images.githubusercontent.com/31528033/39861388-06a6416a-5473-11e8-8947-d00f6c17bf49.jpg) 问题如图所示

使用private final OkHttpClient client = new OkHttpClient();时报java.lang.NoClassDefFoundError: okio.Buffer错误,然后我自己再添加JAR包也不行

Error:java.util.NoSuchElementException 运行项目报了这个错 是怎么回事?

抱歉, 只看了文档没有看readme, 现在已经解决了 ------------------------------------------------------------------------------------------------------------------------------------- 我刚刚接触NoHttp, 按照文档 http://doc.nohttp.net/222342 试着写一个测试的应用, 我把包依赖改为1.1.10, 或者1.1.8都提示没有.Config()。(使用1.1.1就可以) 是不是新版本做了一些更改而文档没说? 还是我用错了?(包依赖那里 用implementation还是api都是这样, 使用1.1.1版本就可以) ![screenshot from 2018-04-27 18-25-56](https://user-images.githubusercontent.com/18031762/39358607-31995364-4a49-11e8-9426-7b60f05fb697.png) ![screenshot from 2018-04-27 18-27-01](https://user-images.githubusercontent.com/18031762/39358612-3794979c-4a49-11e8-9178-1c8ab72dbd42.png)