Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Android Studio > Genymotion > Github
So I managed to install Android Studio and Genymotion on my work laptop (windows 7) for testing and it works fine, GitHub works out of the box. However at home PC (Windows 8.1) when I launch GitHub via Android Studio's VCS I am greeted with the following error.
Cannot run program "git.exe": CreateProcess error=2, The system cannot find the file specified
I Googled the problem and came across a StackOverflow answer that might as well have been written in Greek. Does anyone have experience with this problem and or making it work? Ben Jakuben any luck?
I'll leave the answer here for anyone else that might need it.
Turns out even when you trying to use GitHub in Android Studio it has to first find git. To fix this in Android Studio click File > Settings > Version Control > Git and then set the path to the location of git.exe on your system. In my case it was 'c:\program files (x86)\git\bin\git.exe'