top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

I can't find my git.exe in android studio while using android studio version control? [CLOSED]

+1 vote
1,635 views

I want to connect my android studio with git and installed git separately and when I enable version control. There is an error
"Cannot run program "git.exe" The system cannot find the file specified" searched in C drive programs files and X86 too but didn't get git.exe location.

closed with the note: Got my answer Thanks QueryHome.
posted Mar 2, 2016 by Shivam Kumar Pandey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
To fix this in Android Studio click File > Settings > Version Control > Git and then set the path to the location of git.exe on your system. Something like  'c:\program files (x86)\git\bin\git.exe'

Check the following thread
https://teamtreehouse.com/community/android-studio-genymotion-github
i can't see any folder named git in c drive ... is there any other location where git installed?
run a global search on your machine and then rest is simple I believe...
I found git.exe at "C:\Users\Shivam Pandey\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\cmd\git.exe
Thanks for update :)

Similar Questions
+2 votes

I have added a floating action button in my layout but using backgroundtilt, it doesn't change the color of background.

Here my code segment

   <android.support.design.widget.FloatingActionButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/AddNewButton"
        android:background="@drawable/add"
        android:layout_margin="15dp"
        app:rippleColor="@android:color/white"
        app:fabSize="normal"
        android:clickable="true"
        app:layout_anchor="@+id/HeaderSection"
        app:layout_anchorGravity="bottom|right|end"/>
+1 vote

Encryption in androib 4.1 and 4.2 varies thus failing the login in 4.2.

0 votes

Im putting together a thumb drive that boots into an evil operating system (yes, that one), and has some applications and data on it. It would be nice to have the whole thing under version control. Yes, I know this is unconventional.

It seems to me that I might create a folder for this project, which would contain the repository, and a shortcut to the drive (/dev/sd_n_), and track the shortcut as a binary file.

Im new to VCS, but I know about the concept of filters for binary files. Is there one for ntfs? I dont think I would track changes to individual files, but rather track changes to sectors.

Any help at all will be appreciated, even if youre just telling me that this is impossible or impractical.

+2 votes

I've been trying to figure out why I can't push from a shallow clone (using --depth) to a repository. I've made simple examples where it works, but I've read that in doesn't work in every case. However, I can't come up with a case where it doesn't work. Googling gives this answer: http://stackoverflow.com/questions/6900103/why-cant-i-push-from-a-shallow-clone,

but I don't completely understand the explanation,Please explain.

...