Failed to clone repository, error: Repository test has failed

2

I'm trying to clone a repository. Bitbucket. But it gives this error:

  

Repository test has failed

In settings the git path is correct.

To create I try to create at the time of opening Android Studio

  • Check out project from Version Control > Git
  • I type the information
  • I'm going to Test

Here it comes:

  

Repository test has failed

That's it too!

Doesanyoneknowhowtosolveit?

thisbycmd...

    
asked by anonymous 16.11.2015 / 20:37

2 answers

0

As this response from SOen you should have to point to the executable of git ,

  • Download and install git: link

  • Point git.exe on AndroidStudio:

    • Settings > Project Settings > Version Control > VCSs > Git > Path to Git executable :

    • Select (or type) the pro executable path, for example: C:\Program Files (x86)\Git\cmd\git.exe

  • 16.11.2015 / 20:52
    0

    I was able to. After 2 full days of research, huh. The error was in the directory of a security certificate of Git itself, I do not know if it was an error at the time of installation or was changed with the installation of other software, but the important thing is that I was able to change this directory (CAfile :) with the following line command:

    > git config --system http.sslcainfo "C:\Program Files\git\bin\ca-bundle.crt"
    
        
    17.11.2015 / 03:34