2023-05-05

安装新版本android studio后,git报错:

Fatal: could not read Password for 'https://username@*.com': Device not configured

但是发现通过命令行可以正常使用git。需要做的是保存用户名、邮箱、和密码。

git config --global user.name "myname"

git config --global user.email "mayname.company.com"

git config --global credential.helper store


然后使用一次后,android studio中就可以正常使用了。

你可能感兴趣的:(2023-05-05)