android stdio环境搭建报错调试

今天配置jdk+android stdio开发环境过程中,新建项目反复报错

dl.google.com:443 failed to respond

定位到是gradle位置报错

结果方法如下

Please try

dependencies {
    classpath 'com.android.tools.build:gradle:3.1.2'
    classpath 'com.google.gms:google-services:3.1.0' }

in your gradle. hope it will help you.

猜你喜欢

转载自blog.csdn.net/zhangtao_heu/article/details/88581834