Each time I attempt to pull a repo from bit bucket, I keep getting the error
Failed to start Git process User Authentication Token not found
I have tried resetting the windows credential, uninstalling and reinstalling both git and Android Studio, as I think there is a compatibility issue with Android studio 4.0 and my pc which uses windows 10.
The following helped me:
- From the directory of the previous version (I checked on 3.5 and 3.6 versions) C:\Users\(Your user)\.AndroidStudio3.(version)\config copy the user.token file.
- Paste it into C:\Users\(Your user)\.AndroidStudioPreview4.0\config
- Launch any git operation requiring authorization (push/pull), in the window that appears, enter your authorization data.
Here’s the workaround from Google’s issue.
You are not alone with it.
Have the same issue on Linux (Android Studio 4.0 Canary 5).
I could not “Enable Version Control Integration” in the new project.
I tried to login on GitHub in settings (Version Control -> GitHub), I put my token and then seen the success… but when I closed the settings window and reopen it I seen the message “Missing access token”.
I want to make you happy.
I found the page with previous versions of Android Studio.
Git works in Android Studio 4.0 Canary 4, just remove your version and download it on the link below.
If you’ve created two-factor authentication, you can’t log in like this, so try something like this:
git remote -v git remote remove origin git remote add origin firstname.lastname@example.org:user/repo.git