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 trialRefael Ozeri
18,274 PointsInvalid Vcs root mapping
Hi, I recently updated my Android Studio to 0.8.9. the project mememaker used to work just fine. but now after the update it have an error. when I open the project I get :
"Invalid Vcs root mapping. The Directory C:\blabla\mememaker is registered as a Git root, but no Git repositories were found there."
how do i fix this?
(tried reinstalling my android studio, plus redownloaded the project from scratch, nothing seems to work.)
2 Answers
Ben Jakuben
Treehouse TeacherI'm sorry, I don't remember exactly how to fix this error (I have seen it). Hopefully we can get you there, though.
Go to your settings (Android Studio > Preferences on a Mac, File > Settings on Windows) and click on Version Control. Do you have any warnings and/or fixes listed there? Let us know, and link to a screenshot if you're not sure how to proceed.
Michael McDonald
2,877 PointsErez,
Changing those settings made your error message go away, but it also made you use of a repository go away. You could instead have navigated into the directory via a terminal or shell and typed 'git init'. That would have converted that directory into a git repository.
Daniel Whitaker
10,996 PointsWhich directory would you navigate to to do this?
Refael Ozeri
18,274 PointsRefael Ozeri
18,274 PointsThank you so much for replying Ben. you did took me to my solution! under File > Settings > Version Control - I changed the Vcs settings from Git to none. problem solved. thanks :D
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherExcellent! Hope the rest is smooth for you. :)