Skip to content

Commit 8290111

Browse files
authored
Merge pull request #378 from JemyCheung/readme
update
2 parents a304dd8 + 918432b commit 8290111

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,22 @@ https://github.com/qiniudemo/qiniu-lab-android
1414

1515
| Qiniu SDK 版本 | 最低 Android版本 | 依赖库版本 |
1616
|------------ |-----------------|------------------------|
17-
| 7.5.x | Android 4.0+ | okhttp 4+ |
17+
| 7.6.0 | Android 5.0+ | okhttp 4+ |
18+
| 7.5.x | Android 5.0+ | okhttp 4+ |
19+
| 7.4.3 | Android 2.3+ | okhttp 3.12.6 |
20+
| 7.3.x | Android 2.3+ | okhttp 3.11.0 |
1821
| 7.2.x | Android 2.3+ | okhttp 3+ |
1922
| 7.1.x | Android 2.3+ | okhttp 2.6+ |
2023
| 7.0.8,7.0.9 | Android 2.2+ | android-async-http 1.4.9 |
2124
| 7.0.7 | Android 2.2+ | android-async-http 1.4.8 |
2225

26+
### 注意
27+
* 推荐使用最新版:7.6.0,7.6.0使用okhttp4.2.2
28+
* 7.4.3是在7.5.2版本上降低okhttp版本,其他功能不变
29+
* 从 7.3.13 开始,不在强制依赖 `happy-dns-android`,默认不再提供 `httpDns`,可以调用 `Configuration.Builder#dns(com.qiniu.android.http.Dns)`方法设置外部 `Dns`,自定义 `Dns` 要求实现 `com.qiniu.android.http.Dns` 接口。
30+
* 从7.5.0开始增加了DNS预取和缓存策略,减少dns解析错误
31+
* 如果可以明确 区域 的话,最好指定固定区域,这样可以少一步网络请求,少一步出错的可能。
32+
2333
### 直接安装
2434
将sdk jar文件 复制到项目中去,[jar包下载地址](http://search.maven.org/#search%7Cga%7C1%7Ccom%2Fqiniu%2Fqiniu-android-sdk) , 下载对应的jar包,以及搜索下载对应的依赖库
2535

0 commit comments

Comments
 (0)