Skip to content

Commit 2d999a3

Browse files
authored
Update README.md
1 parent aeddde5 commit 2d999a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ Android 平台上,我们提供 gradle 远程依赖或者 jar 包两种主流
2323

2424
如果您使用 Android Studio 作为开发工具或者使用 gradle 编译系统,**我们推荐您使用此方式集成依赖。**
2525

26-
#### 1. 使用 jcenter 作为仓库来源
26+
#### 1. 使用 mavenCentral 作为仓库来源
2727

2828
在工程根目录下的 build.gradle 使用 jcenter 作为远程仓库:
2929

3030
```
3131
buildscript {
3232
repositories {
33-
jcenter()
33+
mavenCentral()
3434
}
3535
dependencies {
3636
...
@@ -39,7 +39,7 @@ buildscript {
3939
4040
allprojects {
4141
repositories {
42-
jcenter()
42+
mavenCentral()
4343
}
4444
}
4545
```
@@ -51,7 +51,7 @@ allprojects {
5151
```
5252
dependencies {
5353
//增加这行
54-
compile 'com.tencent.qcloud:cosxml:5.5.+'
54+
compile 'com.qcloud.cos:cos-android:5.6.+'
5555
}
5656
```
5757

@@ -62,7 +62,7 @@ dependencies {
6262
##### COS XML SDK
6363

6464
```
65-
compile 'com.tencent.qcloud:cosxml:5.5.+'
65+
compile 'com.qcloud.cos:cos-android:5.6.+'
6666
```
6767

6868
### 手动集成

0 commit comments

Comments
 (0)