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!
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
justin z11,042 Points
Trouble importing project from GitHub, didn't include right files in version control?
Hello, I've been working on a project at https://github.com/zwickers/ChuckNorrisFacts , but when I open the project on my other computer using "Checkout from Version Control" and getting it from GitHub, the project becomes a total mess and doesn't work at all. I think I'm including the incorrect files in version control. In fact, there doesn't seem to be any gradle files at all when I open it up on my other computer. Please tell me what other files i need to add to my version control!
Seth Kroger56,412 Points
There should be a build.gradle file as well as gradle.properties, settings.gradle, the gradlew files and the gradle/ directory (but not the .gradle/ directory which is already ignored.) Basically almost anything in the top level directory (Switch the tab at the top of the Project pane from Android to Project view) with gradle in the name. You can also see the files as "untracked" by clicking "Version Control" at the bottom and can move them into the default changelist to stage them.