kevin0228ca kevin0228ca - 2 months ago 21
Android Question

Android Studio cant start git, although actually can

My Android Studio is complaining about

Can't start Git:

/usr/bin/git


Probably the path to Git executable is not valid

although I can actually use git in android studio, and
/usr/bin/git
works in terminal.

How do I get rid of this false error

Here is my ~/.bash_profile

export PATH=/usr/bin/git:$PATH

Answer

It is probably a permission issue on AS side. You could try to symlink /usr/bin/git to /user/local/bin/git and make AS pointing to the symlink.