Check the box reading github/master and then select Pull. Next, you will get the password of this token, which is the part converted by the gray rect in my picture.īack to the Android Studio login GitHub window, this time select Use Token to verify. In Android Studio - Within Android Studio, select VCS -> Git -> Pull and check the box. Click on test button to test 'path to Git executables'. If you are not sure which permissions you need, suggest choosing them all. Open the project in android studio and go to File -> Settings -> Version Control -> Git. You can name the token you want and select the permissions you want to access to this token. Then, also in the options on the left, select Personal access tokens, and then select Generate new token to generate a new token. In the options on the left, select Developer settings. When you cannot log in to GitHub using your account, you can actually use token to obtain the authentication.įirst, log in your GitHub account via browser, select the right top corner user icon, select Settings. You can connect to GitHub using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network. But I did not expect, The GitHub login verification function provided by Android Studio IDE cannot be used.Įnter the correct account and password, but the following error message will still be returned: invalid authentication data.404 Not Found -Not Foundīy the way, in the other IDEs developed by Jetbrains have no this problem. (As I am working on Windows so, I am going to select Windows) And the download should begin automatically. Step 1: On the download, section select the operating system that we are working on. Select GitHub from the drop-down list Enter your GitHub credentials and click Login. Installing Git in Android Studio To get started we have to install Git which can be downloaded from the official website /downloads. Today I use Android Studio to develop an application, and want to create a GitHub repository. Load Android Studio and select check out project from version Control.
0 Comments
Leave a Reply. |