Android Studio “Error Running Git” , 'Empty git --version output:'

前端 未结 9 2285
抹茶落季
抹茶落季 2021-02-19 06:58

I have looked at the other posts and have made certain that the path is correct to the executable file, as shown below. I can launch git from from this path outside of Android

9条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 07:31

    The path you configure for git should be C:\Users\Computer\Documents\Development\Git\cmd\git.exe instead. You should use git.exe not git-base.exe.

    And add git installed path to environment variables (for windows OS):

    This PC -> properties -> Advanced system setting -> advanced Tab -> environment variables -> find path in system variables -> edit -> add the git installed path by ;C:\Users\Computer\Documents\Development\Git\cmd -> ok.

提交回复
热议问题