得到错误
Cause: dl.Google.com:443 Failed to respond
下面是build.gradle文件代码
buildscript {repositorIEs { Google() jcenter()}dependencIEs { classpath 'com.androID.tools.build:gradle:3.1.2' // NOTE: Do not place your application dependencIEs here; they belong // in the indivIDual module build.gradle files}}allprojects {repositorIEs { Google() jcenter()}}task clean(type: Delete) {delete rootProject.buildDir}
和
dependencIEs { implementation filetree(dir: 'libs', include: ['*.jar']) implementation 'com.androID.support:appcompat-v7:27.1.1' implementation 'com.androID.support.constraint:constraint-layout:1.1.0' testImplementation 'junit:junit:4.12' androIDTestImplementation 'com.androID.support.test:runner:1.0.2' androIDTestImplementation 'com.androID.support.test.espresso:espresso-core:3.0.2' }
解决方法:
请试试
dependencIEs { classpath 'com.androID.tools.build:gradle:3.1.2' classpath 'com.Google.gms:Google-services:3.1.0' }
在你的gradle中.希望它会对你有所帮助.
总结以上是内存溢出为你收集整理的android – dl.google.com:443未能回复全部内容,希望文章能够帮你解决android – dl.google.com:443未能回复所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)