Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git.exe error for android studio

Recently I am trying to connect git hub repository to android studio but it shows following the error:

Error Image

like image 720
UDIT PATEL Avatar asked Apr 23 '17 15:04

UDIT PATEL


People also ask

Does git work with Android studio?

Integrate Git into the projectIn Android Studio, go to Android Studio > Preferences > Version Control > Git. Click Test to ensure that Git is configured properly in Android Studio.

How do I get git EXE?

Git executable can be found by using running git --exec-path, which usually lives in the Git execution path. git --exec-path will give you the path.

Where is git EXE located?

1 Answer. If on windows, the default path is C:\Program Files (x86)\Git. The name of the executable is not git.exe for all systems.


1 Answers

Install Git if not already installed.

In android studio click on File -> Settings -> Version control -> Git

Then click to select Path to Git executable

You should find your git.exe file in path: C:\Program Files\Git\cmd\git.exe

enter image description here

like image 198
Abdulsalam Opeyemi Avatar answered Oct 16 '22 06:10

Abdulsalam Opeyemi