Getting “Repositroy test has failed” error while cloning repository from Gitlab in Android Studio?

前端 未结 8 937
长发绾君心
长发绾君心 2020-12-08 18:48

I will like to clone my android code from gitlab repository in Android Studio 0.8.1.I checked into VCS >> Checked out from Version Control >> Git >> Added HTTP url here.It p

相关标签:
8条回答
  • 2020-12-08 19:53

    Try unchecking the "Clone git repositories using SSH".

    0 讨论(0)
  • 2020-12-08 19:54

    I'm in Linux, At first check you have the appropriate certification to know this you can clone the repository in terminal if you get error similar this

    fatal: unable to access 'https://YourDomainName/Project/GitRepository/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    

    then open your domain in browser and click on lock in the left of url go to detail and press export to save the certification and finally copy the content of the file and pase it into

    /etc/ssl/certs/ca-certificates.crt
    

    For me this solution for the issue worked.

    0 讨论(0)
提交回复
热议问题