본문으로 바로가기

[Android Studio] Unsupported Git Version 2.XX.X

category Android_app 2022. 6. 15. 20:10

: Android Studio 의 프로젝트 생성방법중 VCS 이용한 생성시 아래와 같은 

  git version 이 맞지 않는다고 나올경우 처리 방법입니다.

==> 

▶ Configure... 버튼을 눌러 git path 를 확인합니다.

 

C:\Program Files\Git\cmd\git.exe 를 사용하네요.

 

▶ git-bash.exe 실행후 version을 확인합니다.

$ git version
git version 2.15.0.windows.1

 

 

▶ 기존 설치 사이트에 가서 최신버전을 다시 install 합니다. 저는 scm 사용했습니다.

   https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

  ==> 기존 파일 알아서 지우고 설치한다고 나오니 제거는 안하셔도 됩니다.

 

▶ git version 체킹

$ git version
git version 2.36.1.windows.1

 

이후 VCS 를 이용해 다시 프로젝트 생성하면 정상적으로 동작하네요.

그럼수고하세요.

반응형