R
R
Ryabos2017-03-20 06:19:40
Android
Ryabos, 2017-03-20 06:19:40

Android Studio project from GitHub: import or download?

For the first time I decided to use the "Import from version control" button, and nothing worked for me) The project is imported, but the studio requires you to specify many parameters manually through the settings.
But after downloading the ZIP archive with the repository and importing it from the disk, I pressed only a few buttons in order to open a full-fledged project.
QUESTION: does everyone also have to download ZIP archives and import the project manually? If not, is there any digestible tutorial covering the interaction between Android Studio and GitHub?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AleksandrFl, 2020-09-02
@Ryabos

in the terminal

cd c://path переход в каталог, который нужно перенести на github
git remote set-url origin [email protected]:Sasha/repository.git назначаем репозиторий
git init 
git add .
git commit -m "Init" коммитим
git pull origin master --allow-unrelated-histories проверяем на соответствие
git push origin master отправляем папку

for android studio
to push the project to git
you need to configure ssh
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval $(ssh-agent -s)
clip < ~/.ssh/id_rsa.pub
add ssh to github
C:\Users\Rumb\.ssh PASSWORD

and register the SSH code in the GitHub settings
~/.ssh/id_rsa.pub here
you need to transfer the code here, as in the image below, the entire folder to the DefaultChangeList 5f4d4dc9e6f5c162537158.jpeg
and make a commit
then5f4d4e2f24601451842289.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question