Sunday, March 17, 2019

Making Android Studio forget Git credentials

If the credentials used for Git are changed and Android Studio (or IntelliJ) has the old ones saved, Git operations will fail. If the repository is private, the error message may say that the repository doesn't exist. To fix this, the old Git credentials need to be removed. On Windows, this is done in the Credential Manager section of Control Panel. Once the Git-related "generic credential" entries are removed, Android Studio should re-prompt for credentials on the next repository operation.

No comments:

Post a Comment