Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
错误提示:
```
Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
This repository is deprecated and it will be shut down in the future.
See http://developer.android.com/r/tools/jcenter-end-of-service for more information.
Currently detected usages in: root project 'xxx', project ':app'
```
解决方案:
1,打开project下的build.gradle(不是app的build.gradle)
2,将build.gradle中的 jcenter() 注释掉
3,点击“sync now”更新完成即可
我的笔记