解决办法 打开app层build.gradle,注释 添加repositories相关配置,重新编译后同步即可 参考链接 https://www.cnblogs.com/machi12/p/12002945.html