How to push android project to github with this error is given below?

前端 未结 2 1482
死守一世寂寞
死守一世寂寞 2020-12-02 01:05

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

When I finish commit,it will appear this error:

So how can I solve it?

相关标签:
2条回答
  • 2020-12-02 01:46

    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.

    0 讨论(0)
  • 2020-12-02 02:08

    The error indicates that the URL is not correct and Make sure to update your VCS plugin in android studio

    0 讨论(0)
提交回复
热议问题