目录
unable to read askpass response from ‘/Users/…/Library/Caches/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh’ could not read Username for ‘*’: Device not configured 问题解决
问题场景
命令行使用 git pull是OK的,但在Android Studio中pull怎么也拉不下来,出现这种错误
unable to read askpass response from
‘/Users/…/Library/Caches/Google/AndroidStudio2021.1
/tmp/intellij-git-askpass-local.sh’ could not read Username for ‘*’:
Device not configured
推断应该是Android Studio的账号凭证有问题
解决方法

打开Preferences -> Version Control -> Git
勾选Use credential helper即可
其他解决方案
还有一些同类型问题的解决文章,直接贴出来吧,帮助大家解决
本文介绍了在Android Studio中遇到git pull时的askpass问题,即'could not read Username for '*': Device not configured'的解决方法。问题源于账号凭证问题。解决方式包括在设置中启用凭证助手,以及提供了其他可能的解决方案链接。

被折叠的 条评论
为什么被折叠?



