@@ -14,27 +14,28 @@ https://github.com/qiniudemo/qiniu-lab-android
1414### 运行环境
1515
1616| Qiniu SDK 版本 | 最低 Android版本 | 依赖库版本 |
17- | ------------ | -----------------| ------------------------|
18- | 8.5.x | Android 4.0+ | okhttp 4+ |
19- | 8.4.x | Android 4.0+ | okhttp 4+ |
20- | 8.3.2 | Android 4.0+ | okhttp 4+ |
21- | 8.3.1 | Android 4.0+ | okhttp 4+ |
22- | 8.3.0 | Android 5.0+ | okhttp 4+ |
23- | 8.2.x | Android 5.0+ | okhttp 4+ |
24- | 8.1.x | Android 5.0+ | okhttp 4+ |
25- | 8.0.x | Android 5.0+ | okhttp 4+ |
26- | 7.7.x | Android 5.0+ | okhttp 4+ |
27- | 7.6.x | Android 5.0+ | okhttp 4+ |
28- | 7.5.x | Android 5.0+ | okhttp 4+ |
29- | 7.4.6 | Android 4.0+ | okhttp 3.12.6 |
30- | 7.3.x | Android 2.3+ | okhttp 3.11.0 |
31- | 7.2.x | Android 2.3+ | okhttp 3+ |
32- | 7.1.x | Android 2.3+ | okhttp 2.6+ |
33- | 7.0.8,7.0.9 | Android 2.2+ | android-async-http 1.4.9 |
34- | 7.0.7 | Android 2.2+ | android-async-http 1.4.8 |
17+ | --------------| -----------------| ------------------------|
18+ | 8.6.x | Android 4.0+ | okhttp 4+ |
19+ | 8.5.x | Android 4.0+ | okhttp 4+ |
20+ | 8.4.x | Android 4.0+ | okhttp 4+ |
21+ | 8.3.2 | Android 4.0+ | okhttp 4+ |
22+ | 8.3.1 | Android 4.0+ | okhttp 4+ |
23+ | 8.3.0 | Android 5.0+ | okhttp 4+ |
24+ | 8.2.x | Android 5.0+ | okhttp 4+ |
25+ | 8.1.x | Android 5.0+ | okhttp 4+ |
26+ | 8.0.x | Android 5.0+ | okhttp 4+ |
27+ | 7.7.x | Android 5.0+ | okhttp 4+ |
28+ | 7.6.x | Android 5.0+ | okhttp 4+ |
29+ | 7.5.x | Android 5.0+ | okhttp 4+ |
30+ | 7.4.6 | Android 4.0+ | okhttp 3.12.6 |
31+ | 7.3.x | Android 2.3+ | okhttp 3.11.0 |
32+ | 7.2.x | Android 2.3+ | okhttp 3+ |
33+ | 7.1.x | Android 2.3+ | okhttp 2.6+ |
34+ | 7.0.8,7.0.9 | Android 2.2+ | android-async-http 1.4.9 |
35+ | 7.0.7 | Android 2.2+ | android-async-http 1.4.8 |
3536
3637### 注意
37- * 推荐使用最新版:8.5.3
38+ * 推荐使用最新版:8.6.0
3839* 7.6.2 ~ 8.3.2 AndroidNetwork.getMobileDbm()可以获取手机信号强度,需要如下权限(API>=18时生效)
3940```
4041 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
@@ -53,10 +54,10 @@ https://github.com/qiniudemo/qiniu-lab-android
5354* Android Studio中添加dependencies 或者 在项目中添加maven依赖
5455```
5556// 1. 直接导入
56- implementation 'com.qiniu:qiniu-android-sdk:8.5 .+'
57+ implementation 'com.qiniu:qiniu-android-sdk:8.6 .+'
5758
5859// 2. 如果要修改okhttp依赖的版本,可采用以下方式(强烈建议使用七牛库依赖的okhttp版本)
59- implementation ('com.qiniu:qiniu-android-sdk:8.5 .+'){
60+ implementation ('com.qiniu:qiniu-android-sdk:8.6 .+'){
6061 exclude (group: 'com.squareup.okhttp3', module: 'okhttp')
6162}
6263implementation 'com.squareup.okhttp3:okhttp:4.9.1'
0 commit comments