Search code examples
androidandroid-studiobitbuckettokenpush

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

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