'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.



Solution 1:[1]

after several hours of research I found the best soultion for this I dont know this is the right way to use it or not. But its working fine.refer this answer...Refer this

Solution 2:[2]

Simply update your git version :

git update-git-for-windows

Solution 3:[3]

I just had the same error. I downloaded the project again and tried again, it gave an error. Then I updated the token in my GitHub account then I turned Android Studio on and off and it worked for me.

Solution 4:[4]

I also encounter this problem, I am using mac and I solved it by

  1. cmd + space
  2. type keychain access
  3. search github
  4. delete the keychains found
  5. delete github on my android studio (android studio -> preferences -> version control -> Github)
  6. re add github on my android studio using new personal access token

Hope this help, Thanks

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Harshit Jain
Solution 2 S.B
Solution 3 Halil Ozel
Solution 4 Danan