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 包两种主流
2323
2424如果您使用 Android Studio 作为开发工具或者使用 gradle 编译系统,** 我们推荐您使用此方式集成依赖。**
2525
26- #### 1. 使用 jcenter 作为仓库来源
26+ #### 1. 使用 mavenCentral 作为仓库来源
2727
2828在工程根目录下的 build.gradle 使用 jcenter 作为远程仓库:
2929
3030```
3131buildscript {
3232 repositories {
33- jcenter ()
33+ mavenCentral ()
3434 }
3535 dependencies {
3636 ...
@@ -39,7 +39,7 @@ buildscript {
3939
4040allprojects {
4141 repositories {
42- jcenter ()
42+ mavenCentral ()
4343 }
4444}
4545```
@@ -51,7 +51,7 @@ allprojects {
5151```
5252dependencies {
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### 手动集成
You can’t perform that action at this time.
0 commit comments