0

I am trying to clone a flutter project in Android Studio, but unfortunately, Once I add the Git Url and hit clone button, It shows me processing dialog and after just 2 seconds it closed and showing me error as below :

enter image description here

What will be the possible solution? Thanks.

Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
  • Does this answer your question? [Git Pull Failed: Invocation failed Unexpected end of file from server](https://stackoverflow.com/questions/66508158/git-pull-failed-invocation-failed-unexpected-end-of-file-from-server) – nstvnsn Aug 16 '22 at 02:51
  • No, Its about pull failed. I am talking about taking clone for the project. – Jaimin Modi Aug 16 '22 at 04:32

2 Answers2

2

Goto Android studio -> settings -> VCS -> git -> Tick Use credential helper

open terminal of andorid studio

use this command

git fetch

-> git config --global credential.helper store <app password>

and try to pull/clone from android studio

EDIT

enter image description here

Hardik Mehta
  • 2,195
  • 1
  • 11
  • 14
0

For this, We can use Github Desktop instead.

Just install it and you are good to go after logged in to your Git account.

Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
  • 1
    You can also use SourceTree as it will work with various different version control tools like Github, Gitlab, BitBucket etc. Additionally, it provides functionality like globally saving credentials for different domains. – Karan Mehta Aug 16 '22 at 06:19