AndroidStudio项目的坑
报错Please remove usages of jcenter()
Maven repository from your build scripts and migrate your build to other Maven repositories.
1 | Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories. |
查了网上说是jcenter()
跑路了,所以不支持了;需要改用mavenCentral
所以在切换至Project找到build.gradle文件修改为下方,重新编译一下就OK了。
1 | allprojects { |
评论