LoginSignup
2
1

More than 1 year has passed since last update.

【Android Studio】Gitの連携が上手くいかないときの対処法

Last updated at Posted at 2022-04-08

Android Studio上でpullしようとしたら、"Update canceled"というエラーが発生。
スクリーンショット 2022-04-08 103842.png

error: unable to read askpass response from 'C:\Users\xxxx'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://xxxx': No such file or directory

その時行った対処法を記述。

最初に行った方法

File→Settings…→Version Control→Git→Use Credenciral helperにチェックを入れる

それでも上手くいかない時

  1. File→Settings…→Appearance & Behavior→System Settings→Passwords→Do not save, forget passwords after restartを選択

  2. 再起動

参考:https://stackoverflow.com/questions/28142361/change-remote-repository-credentials-authentication-on-intellij-idea-14

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1