kevin0228ca kevin0228ca - 6 months ago 70
Android Question

Android Studio cant start git, although actually can

My Android Studio is complaining about

Can't start Git:


Probably the path to Git executable is not valid

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

How do I get rid of this false error

Here is my ~/.bash_profile

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


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.