I need use GitLab repository in my Flutter project(Android Studio). First, I tried "New->Get from version control", but I have error:
remote: The project you were looking for could not be found or you don't
have permission to view it
I started looking for a solution on the net and only found this
maybe I need to add login/password for gitlab to Android Studio? I will try to do this, but in the settings it is not available (only git)
any advice? I will be grateful.
CodePudding user response:
I don't understand the problem
and then import it
If you already checked it out and you want to add a new remote, I recommend to use CLI
git remote add upstream https://git.something.info/privat/sensoric.git
Btw, in general, I recommend to use CLI to understand what you do exactly
CodePudding user response:
I found solution here - need change url for clone(add userName):
before: https://gitlab.com/gitlab_user/myrepo.git
after: https://[email protected]/gitlab_user/myrepo.git