Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: unable to read askpass response from '/home/.cache/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' in ubuntu android studiio

I am trying to push my code to my bit bucket repository but from last few days after update from bit bucket, I have to use token to push code. But I don't know where to add token. Could anyone let me know the entire process for android studio. I have also gone through with This documentation .But didn't get any idea about how to use it in android studio.

like image 610
Harshit Jain Avatar asked Sep 10 '25 04:09

Harshit Jain


2 Answers

As for me I use android studio, I came across the same issue; where I was unable to make push command to my github repo, that is after an update of my IDE version to chipmunk.

Solution that worked for me:

  1. Enable the Credential helper - In the IDE select File -> Settings -> Version Control -> Git -> Mark the check box for use Credential helper. Then apply changes.

  2. Invalidate and clear caches - In the IDE select File -> Invalidate caches.

like image 70
tonnymulatya Avatar answered Sep 12 '25 19:09

tonnymulatya


git config --global --unset credential.helper

and then git pull from terminal

git pull

then will ask your username and password

like image 25
Vanya Rachel Avatar answered Sep 12 '25 17:09

Vanya Rachel