WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Android studio git 无法更新,报如下错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:q0C7pWCIVnYk9gqvV/eSQlm6IAuCba8yXn94t+GMUIQ.
Please contact your system administrator.
Add correct host key in /c/Users/Administrator/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/Administrator/.ssh/known_hosts:1
Host key for git.yazuosoft.com has changed and you have requested strict checking.
Host key verification failed.
Could not read from remote repository.

        Please make sure you have the correct access rights
        and the repository exists.

解决方案:
根据提示找到对应目录( /c/Users/Administrator/.ssh/known_hosts)下的known_hosts文件,打开后删除里面的内容后保存。
重新更新代码,弹窗后点击确定,即可更新成功

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容