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

how to install android studio
android studio features
android studio tutorial
how to use android studio
android studio requirements
android studio apk
android studio java
how to start android studio

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 Studio. The current project is the "sunshine-version 2" from Udacity and it is a version or two old, but this should not affect the VCS from launching. I have read the other posts concerning this issue, but none have resolved this issue. Also, when Android Studio gradle runs, it will open git in several windows and then close them almost immediately. They pop-up for a second or two, and then close. It's definitely trying to run git, and then default closes?

I just went to the Git path ubication, the only different thing that I did was have stopped at the cmd folder. As you might see in the next screenshot

Subsequently, instead of choosing git-gui.exe option, I select just git.exe option. And it seems to work for me.

Google's Android Studio 4.0 is a major upgrade for the app development tool, Google's Android Studio 4.0 is a major upgrade for the app development tool Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA .On top of IntelliJ's powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps, such as:

default path of git.exe for GitHubDesktop 64-bit version is

c:\Users\AppData\Local\GitHubDesktop\app-<version>\resources\app\git\cmd\git.exe

you should try this path.

Google's Android Studio 4.0 is out: Motion Editor, Build Analyzer, Java 8 language APIs, Google's Android Studio 4.0 is out: Motion Editor, Build Analyzer, Java 8 language APIs Android Studio is a popular software development environment by Google (also known as integrated development environment) that enables programmers and engenders from all around the world direct access to the tools for coding, debugging, performance optimizing, version compatibility checking, hardware compatibility checking (various android

in windows 10, 64bit version your installed git location is C:\Program Files\Git, There is a bin folder inside Git folder and there is a git.exe file, this is the file you have to choose or add in android studio.Works for me.

Google releases Android Studio 4.0 with a new Motion Editor, Build Analyzer, and more, Google releases Android Studio 4.0 with a new Motion Editor, Build Analyzer, and more Android Studio is Android’s Integrated Development Environment (IDE) which helps Android developers to build high-quality apps which supports Android platform. This IDE facilitates Android developers by providing easy to use tools like an enriched source code editor, debugger, tester, and various automation tools.

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.

Android Studio 4.0, Some highlights of Android Studio 4.0 include a new Motion Editor to help bring your apps to life, a Build Analyzer to investigate causes for slower  Android - Studio - You will be delighted, to know that you can start your Android application development on either of the following operating systems −

As mentioned by Marina-MSFT, you should add git.exe instead of git-base.exe or any other .exe files. You could find git.exe under, in your case, C:\Users\Computer\Documents\Development\Git\bin\git.exe, normally the git.exe file is under bin file of Git you have installed

Android Studio, Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and​  Google has released Android Studio 4.0 just ahead of the first Android 11 beta, whose release was pushed back a month to June 3 due to complications created by the global coronavirus pandemic.

Android Studio ✓, Android Studio is Google's officially supported IDE for developing Android apps. This IDE is based on IntelliJ IDEA, which offers a powerful  From our setup so far, you should still have Android Studio running with the Welcome to Android Studio dialog box. From here, click Start a new Android Studio project. Android Studio will respond with the Create New Project dialog box shown in Figure 19. Jeff Friesen. Figure 19. Create a new Android project

What's new in Android Studio 4.0, Platform Android Studio package Size SHA-256 checksum; Windows (64-bit) android-studio-ide-192.6392135-windows.exe Recommended 756 MB

Android Studio 4.0 now available for download,

Comments
  • Also, when I click on "Test" , a scroll bar pops up, but spins its wheels endlessly. There is no result, but an unending 'check' if you will...
  • Can you execute this from a command prompt? Also, you have a git path set, but also have Built-in selected.
  • I changed it from 'built-in' to the only other option...'Native' and the same error occured.
  • Native would be the path specified. It is strange that built-in would give the same error. Can you try Built-in without a path specified? Can you execute this from a command prompt?
  • yes, from the 'native' or from the 'built-in' options, it is throwing the Empty git --version output response, when I click the "Test" button. I can launch this executable file from the command line.
  • this one helped me a lot
  • This one helped me as well. I had to change the path to executable to 'bin/git.exe'
  • I tried 'git.exe' but it said no such file. I double checked the path and it is definitely to the right executable file.
  • Which version do you use for git? Or you can download the newest version in git-scm.com/downloads. And then use the new install path ...\Git\cmd\git.exe.
  • I am using the latest version of git. Also, I have GitHub set as version control for the current project. It has no problem connecting when I click on 'Test', but I would like to use git locally, and then push/pull to GitHub. For some reason it keeps throwing this Empty version output message. I have even deleted the entire studio, and git, and reinstalled both. Not sure where the bug is ? Could there be some setting withiin git that I need to alter...? What's funny is when I browse to the uninstall_git.exe and click on 'Test' , it actually launches the uninstaller for git ?
  • Did you add C:\Users\Computer\Documents\Development\Git\cmd in your environment variables?
  • I do not know what that is or how to do that...please guide me in this.