Cause Analysis of failed clone using git in Android Studio
Recently, I found a very strange problem when using git. I can use the cmd command line to perform clone, push, pull, and other operations, but when you switch to Android Studio to perform these operations with remote libraries, there are various failures ....
At first, I thought there was a problem with the ssh key. So I tried to generate the ssh key several times and then re-performed the above operation. I found that the above operation still failed...
Later I thought of the Android idea execution file, one in the bin folder and the other in the cmd folder. In the Andriod studiofile, the configuration test can be completed, but the difference is that git.exe can be executed anywhere... At the beginning, I used the following bin, which caused an error where the command could not be executed!
True Configuration:
1. Configure git.exe in the folder of the hosts file:
2. test whether the configuration is successful:
3. Test whether remote operations such as clone can be performed:
4. Select the database to clone and perform the clone test:
5. If a successful result is displayed, you can perform the clone operation:
The clone operation can be executed successfully, and other push and pull operations can also be executed successfully.
Install Android Studio in Ubuntu 15.04
Full process of installing Android Studio on Ubuntu 12.04 (64-bit)
Early adopters of Android Studio v0.1
Android Studio tutorial
Android Studio Development Guide
How to solve the problem that Android Studio sets the topic and does not support Chinese Characters
Android Studio download and installation and solutions that cannot be opened
Graphic tutorial for installing Android Studio
Android Studio details: click here
Android Studio: click here