首页 > 解决方案 > 推送失败:无法访问“https://github.com/abc/xyz.git/”:无法解析主机:github.com

问题描述

我正在使用 github 私有存储库。

昨天,我在笔记本电脑上克隆了这个项目。之后,我无法从桌面推送提交。

我收到此错误:

Push failed: unable to access 'https://github.com/abc/xyz.git/': Could not resolve host: github.com

我从 Settings > Version Control > Github > Test 进行了测试,它显示一切正常。

请帮我解决这个问题。

有很多关于这个问题的文章。我检查了,他们都没有工作。

标签: androidgitandroid-studiogithub

解决方案


问题出在 Android Studio 3.2

我降级到3.1,现在一切都很好。


推荐阅读