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 Android Tools Using Git for Android Pulling Down GitHub Projects to Android Studio

Michael Ikhane
Michael Ikhane
2,390 Points

Git installation on Mac

Hi all,

I got this error after I tried to use GitHub on my Android studio, please let me know how I can fix this issue. Thanks in advance.

Error Running Git Cannot run program "/usr/local/git/bin": error=13, Permission denied

1 Answer

Michael Ikhane
Michael Ikhane
2,390 Points

Hi All,

Thanks for your time. I found out what I did wrong here. The path to Git executable in Android Studio Preferences was wrong, it should be /usr/local/git/bin/git and not /usr/local/git/bin

Thanks

Laurie Shuck
Laurie Shuck
1,773 Points

I was trying to set up PHPStorm and needed the Git path. Your comment was helpful! Thanks!