I have my project on one laptop, which is tied to the git repository. So I want on another laptop to download this project by means of android studio to work. Is it possible to do something about it? I have the repository address and that's it.
- Three years ago I wrote the connection instruction :) - pavlofff
- @pavlofff, I better delete the question, do I understand?))) or let it be two questions? - Andrew Goroshko
- of course let it be - pavlofff
1 answer
I do not argue, I asked maybe a stupid question, but I ran into such a problem for the first time, and I hope that my question and answer will help the same beginners as me.
Before downloading a project you need to do one important thing - to install Git on your computer. I downloaded the installer from this site . After Git is installed, you need to specify the path to the git.exe file in the Android Studio git.exe . Here's how to do it: 
Well, now, you can go directly to importing the project from the repository.
In order to import your project from the repository, go to the Android Studio start screen and select the menu item as shown in the figure: 
after clicking you will have a list with version control systems (Git, Google Cloud, Mercurial, etc.). I personally needed Git, so I chose it.
When choosing my version control system, I had a window for connecting to the repository:
In the specified fields you need to enter the path to the repository, the path to the folder where you want to save the project and the name of the folder of the future project. Since you will have the first connection from the studio to a remote repository, you will be culturally prompted to enter a password, which I personally saved in the studio’s memory for future use. After that, the project will be downloaded to your computer. After the download is complete, you will be prompted to open the project that you downloaded.
I hope that my answer will help people with a similar situation. Good luck)
