How to work together on Android Studio using github

92 Views Asked by At

So me and my friend are working on an android project together but as it happens whenever he shares his code with me it takes a lot of time downloading gradles(which i already have downloaded.. don't know if its a diff version).

We tried using github to sync our work but seems quite difficult.

It would definitely help us a lot if someone can tell how to work together. Consider us noobs and please share steps in detail. Thank you in advance.

I am on Ubuntu..he is working using Windows.

2

There are 2 best solutions below

0
Nour Eldien Mohamed On

you can make that by android studio

1- click VCS

2- Commit - enter your message

3- VCS > pull

4- VCS > push

I hope it will work fine with you

1
Shubham Goel On

You have to put your gradle folder in .gitignore Gradle dependencies should be built on local and not tracked on git