Android Studio – Git ignore files

Hi Folks,

This post is for people who are working on Android Studio Project in conjunction with Git.

I used to develop Android Apps in eclipse initially. I saw many people using Android Studio in stack overflow posts. Even my friend(Abhinav) has suggested to try Android Studio. I too got habituated using Git for all the projects. I consider Git is a breakthrough solving numerous problems. While learning to work on Android Studio, one main problem which I faced was setting the files to be tracked by git. So, below is the .gitignore file which suited me best.


I do understand that if above files are are ignored, its not possible for someone to clone the project and get started easily. In such cases, compress it and just send the project or create another repository.

If above mentioned files are not ignored, each time you make changes to remote repo, your team-mates need to struggle to get the updated project working.


One thought on “Android Studio – Git ignore files

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s