Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivvy9999 opened this issue Nov 1, 2021 · 0 comments

Comments

@ivvy9999
Copy link

ivvy9999 commented Nov 1, 2021

请教大家,
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'}

看是否还有更好的办法.

@ivvy9999 ivvy9999 changed the title JCenter()已启用,build.gradle(Project)里takePhoto的buildscript repositories应怎么改? JCenter()已弃用,build.gradle(Project)里takePhoto的buildscript repositories应怎么改? Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant