简体   繁体   English

Android Studio连接错误

[英]Android studio connection error

I am using Android Studio 2.3 and getting this error 我正在使用Android Studio 2.3并收到此错误

在此处输入图片说明

PS I updated it to 3.0 and got the same error but this error didn't come on 2.3.3 but I want to use 2.3 because 2.3.3 gives me some errors. PS我将其更新为3.0,并得到相同的错误,但此错误并未出现在2.3.3上,但我想使用2.3,因为2.3.3给了我一些错误。 Also, I have a working internet connection with my pc. 另外,我的电脑可以正常连接互联网。 I also tried other Question regarding this question but sadly didn't work for me. 我还尝试了有关此问题的其他问题,但可惜对我没有用。

This is probably a HTTPS connection issue. 这可能是HTTPS连接问题。

Try changing the Project's build.gradle file as follows: 尝试如下更改项目的build.gradle文件:

repositories {
   //google()
   //jcenter()
   maven { url "http://jcenter.bintray.com" }
}

These changes are to be done on 2 places. 这些更改将在2个地方进行。 Hope it works after this. 希望它能在此之后工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM