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 Opening a GitHub Project

jenyufu
jenyufu
3,311 Points

When I clone the url from Github into Android Studio, a pop up appeared asking "Would you like to remove the VCS root?"

"Would you like to remove the VCS root 'C:\Users\yofu1\AndroidStudioProjects\Fun Facts TreeHouse' for the removed module 'FunFacts'?"

Do I click Yes or No?

1 Answer

I think it depends on if it's your code or someone else's. I usually initiate git from the command line when I start a studio project, so then when I go back to android studio, the pop up asks if I'd like to add VCS root.

If you are cloning a forked project from someone else, you might need to remove the root, but I haven't had that problem so far. (I fork the project on github, then go into android studio VCS. It displays all the forked projects I could import into Android Studio, and builds them (or sometimes not, especially if it was pushed to git as an Eclipse project.)

jenyufu
jenyufu
3,311 Points

So I should just pretty much always click yes?