只需要在你的项目文件 build.gradle 中进行如下的配置即可:maven { allowInsecureProtocol = true url = "http://***/repository/maven-public/" }