Clone Android Studio project from Gitlab local server

Viewed 2152

I have a Gitlab repository path like http://192.168.1.10/xyz/myproject. I'm going to clone the project into android studio but it does not ask for username and password and shows authentication error. First time it asked for username and password. How I can solve this?

1 Answers

Check your git config credential.helper.

Depending on your OS, you might have invalid credentials already cached for http://192.168.1.10/, which would then result in failed git clone/push/pull commands.

See the credential deletion for Mac or Windows.

Related