skip to Main Content

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.

2

Answers


  1. Chosen as BEST ANSWER

    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
    

  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search