Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k points)

What files should be in my .gitignore for an Android Studio project?

I've seen several examples that all include .iml but IntelliJ docs say that .iml must be included in your source control.

1 Answer

0 votes
by (50.2k points)

Since Android Studio 2.2 and up to 3.0, new projects are created with this gitignore file:










For older project format, add this section to your gitignore file:








This file should be located in the project's root folder and not inside the project's module folder.

Browse Categories