请教大家,
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'}
看是否还有更好的办法.