Successfully created project 

作者: OneXzgj | 来源:发表于2018-10-25 15:21 被阅读6次

最近由于给电脑升级,重新搭建了开发环境,但是Android studio 在分享项目到github上时,出现如下异常:

14:31   Can't finish GitHub sharing process
        Successfully created project 'todo_mvvm' on GitHub, but initial push failed:
        Could not read from remote repository.
控制台信息.png 解决方法.png

搜索了好多文章,最后在stack overflow找到解决方法 ,即将SSH executable Built-in 变为Native,重新push,完美解决。

总结一下出现这类错误的解决方法:

1、保证Android Studio中git.exe 路径配置正确
2、请保证Android Studio中正确配置SSH连接github
3、如图上的解决方法一样,将SSH executable 设置为Native

相关文章

网友评论

    本文标题:Successfully created project 

    本文链接:https://www.haomeiwen.com/subject/iwtctqtx.html