A problem occurred configuring root project 'DroidPluginDemo'.
> Could not resolve all dependencies for configuration ':classpath'.
> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See 'maven(https)' for more details
由于Gradle项目配置中使用了不安全的协议导致的。具体来说,错误信息提示在使用http协议访问 Maven 仓库时出现了问题,需要切换为安全的协议(如HTTPS)或允许使用不安全的协议来解决这个问题。我把 'maven(http)'换成'maven(https)' ,问题解决