0

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 manual. The key step is to add the remote repository. I tried it, but have error:

enter image description here

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)

enter image description here

any advice? I will be grateful.

FetFrumos
  • 5,388
  • 8
  • 60
  • 98

2 Answers2

1

I found solution here - need change url for clone(add userName):

before: https://gitlab.com/gitlab_user/myrepo.git

after: https://gitlabusername@gitlab.com/gitlab_user/myrepo.git
FetFrumos
  • 5,388
  • 8
  • 60
  • 98
0

I don't understand the problem enter image description here

and then import it

enter image description here

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

hannes ach
  • 16,247
  • 7
  • 61
  • 84