Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cloning a bitbucket project in AndroidStudio

I try to clone a project from Bitbucket into Android Studio. The project was originally published from Eclipse.

But I get the error:

Clone failed. Failed to start Git process.

What I have done so far:

  1. Installed a Bitbucket plugin: https://bitbucket.org/dmitry_cherkas/jetbrains-bitbucket-connector/downloads (http://www.goprogramming.space/connecting-android-studio-project-with-bitbucket/)

  2. Then VCS -> checkout from Version Control -> Bitbucket

I get a login screen. I logged into Bitbucket and I could see the list of my projects (WOW!) Then selecting a project and press ok. -> Clone failed. Failed to start Git process.

Any help on how I can clone a Bitbucket repository?

like image 566
mcfly soft Avatar asked Jan 22 '17 08:01

mcfly soft


2 Answers

The 3rd party for bitbucket plugin on android studio seems not work. You can try below steps to clone a bitbucket repo:

VCS -> Git -> clone -> paste bitbucket URL repo -> clone.

It can clone successfully.

like image 199
Marina Liu Avatar answered Oct 01 '22 00:10

Marina Liu


Go to repository in BitBucket to the top right there is button called Clone Click on it copy the link

Now go to android studio Click >VCS>CheckOutFromVersionControl>Git Now paste the link remove the git clone at the start of the link Click Okay

like image 30
Smit_02 Avatar answered Sep 30 '22 23:09

Smit_02