Skip to content

JCenter()已弃用,build.gradle(Project)里takePhoto的buildscript repositories应怎么改? #573

Description

@ivvy9999

请教大家,
JCenter()已弃用

(附 相关信息:
浅谈JCenter即将被停止服务的事件
https://blog.csdn.net/guolin_blog/article/details/115873573

JCenter关闭,跑路了
https://www.jianshu.com/p/271620cf4da8)

takePhoto 在build.gradle(Project)里的buildscript repositories应怎么改?

buildscript {
    repositories {
        jcenter()
        mavenLocal()
        google()
。。。

直接拿掉jcenter() 在打包apk时会报错。

目前采用的方法为:

        //jcenter()
        maven{ url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}

看是否还有更好的办法.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions