困扰了很久的问题 。
解决方法: 在工程的 build。gradle 下。
原因:https://docs.gradle.org/current/userguide/introduction_dependency_management.html
相关参考: https://blog.csdn.net/u013005791/article/details/79098018#网页地址-2
库访问路径: https://dl.google.com/dl/android/maven2/index.html