更新时间:2022-02-26 22:23:07
几天来,我一直被完全相同的错误困扰,就像您一样,我几乎尝试了所有事情.
I've been stuck with the exact same bug for several days, and like you I tried pretty much everything.
最后,我注意到Android Studio中的某些内容.我转到了Http Proxy首选项选项卡,然后看到一条消息,提示
Finally I noticed something in Android Studio. I went to the Http Proxy preference tab and I saw a message saying
您具有JVM属性"https.proxyHost";设置为"localhost" ....
You have JVM property "https.proxyHost" set to "localhost"....
我尝试通过放置以下行来覆盖此值:
I tried to override this value by putting the line :
systemProp.https.proxyHost =
在我的项目gradle.properties文件和tadaaa中!它有效,但我不太了解发生了什么...
In my project gradle.properties file and tadaaa ! It works, I don't really understand what happened though...
希望能有所帮助;)