How to import a Project into bitbucket repository from Android Studio?

Here is how I did it without plugins:

  1. Create the repository on your Bitbucket account
  2. Create your project in Android Studio
  3. In Android Studio, Go to VCS
  4. Choose ‘Enable version control’
  5. Choose Git and press OK
  6. Right click on your project, choose Git then click Add
  7. Open Terminal in Android Studio
  8. Go to your Bitbucket repository Overview
  9. Click on ‘I have an existing Project’
  10. Copy the ‘git remote add origin … etc.’ line to your terminal and press enter
  11. Click on ‘Commit Changes’, write your comment then press Commit and push

Also add the ‘git push -u origin master’ in the terminal at part 10 of above

Leave a Comment

error code: 523