Cause Analysis of failed clone using git in Android Studio

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.