Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Scott Junner
Scott Junner
9,010 Points

/app/build.gradle is being both ignored and tracked, but it's not written in any .gitignore file. Don't want to ignore

I'm getting a problem where my /app/build.gradle file is being ignored. But I didn't write that in the .gitignore file. Nor is it written in the /app/.gitignore file.

The result is that each time I start up the project in AndroidStudio I'm informed of the problem and given the option to make sure the file is not removed from the repository. Sadly it does not solve the problem completely and of course is a pain in the ass next time I start up the project in Android Studio.

So where is it being ignored? Where else could I look?

An image of what this looks like in AndroidStudio is at this link http://imgur.com/a/7mUR3