File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ Android 平台上,我们提供 gradle 远程依赖或者 jar 包两种主流
23
23
24
24
如果您使用 Android Studio 作为开发工具或者使用 gradle 编译系统,** 我们推荐您使用此方式集成依赖。**
25
25
26
- #### 1. 使用 jcenter 作为仓库来源
26
+ #### 1. 使用 mavenCentral 作为仓库来源
27
27
28
28
在工程根目录下的 build.gradle 使用 jcenter 作为远程仓库:
29
29
30
30
```
31
31
buildscript {
32
32
repositories {
33
- jcenter ()
33
+ mavenCentral ()
34
34
}
35
35
dependencies {
36
36
...
@@ -39,7 +39,7 @@ buildscript {
39
39
40
40
allprojects {
41
41
repositories {
42
- jcenter ()
42
+ mavenCentral ()
43
43
}
44
44
}
45
45
```
@@ -51,7 +51,7 @@ allprojects {
51
51
```
52
52
dependencies {
53
53
//增加这行
54
- compile 'com.tencent. qcloud:cosxml :5.5 .+'
54
+ compile 'com.qcloud.cos:cos-android :5.6 .+'
55
55
}
56
56
```
57
57
@@ -62,7 +62,7 @@ dependencies {
62
62
##### COS XML SDK
63
63
64
64
```
65
- compile 'com.tencent. qcloud:cosxml :5.5 .+'
65
+ compile 'com.qcloud.cos:cos-android :5.6 .+'
66
66
```
67
67
68
68
### 手动集成
You can’t perform that action at this time.
0 commit comments