1

I have a trouble when I push my project to GitHub:

When I finish commit, the following error will appear:

https://ppt.cc/fCVeHx

How can I solve it?

Michele La Ferla
  • 6,535
  • 11
  • 48
  • 77

2 Answers2

0

Try again launching Android Studio from a CMD where you have set a simplified PATH, putting your Git for Windows installation first.
See this answer as an example:

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%

set PATH=%PATH%;/path/to/Android Studio/bin

Make sure you have uncompressed the latest Git For Windows (like PortableGit-2.15.0-64-bit.7z.exe) anywhere you want.

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
0

The error indicates that the URL is not correct. Make sure to update your VCS plugin in Android Studio

Michele La Ferla
  • 6,535
  • 11
  • 48
  • 77
LordGrim
  • 70
  • 5