Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Wednesday, May 5, 2021

Android Studio and GitHub


Open an Android Studio project that you wish to upload to GitHub. 

Android Studio was not showing a Git or Github option under File | Settings | Version Control.

After installing Git for Windows from https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-64-bit.exe,

I then selected File | Settings | Plugins and checked the boxes for Git and GitHub.


Now go back to File | Settings | Version Control to make sure that path is set correctly.


Go to VCS | Enable Version Control | Git and then theoptions should look like this.


Send project to GitHub through the VCS menu.

 

If get the message: Invalid authentication data 404 not found, then go back to http://github.com

and create a Personal Token through dropdown on User Icon | Settings | Developer Settings



After creating and copying the token, go back to Android Studio File | Settings | Version Control | GitHub and add account using the token.

 Now click green arrow in the Android Studio toolbar.


Then share on GitHub through the VCS menu and using the token to login to GitHub

A list of useful links.


 



No comments:

Post a Comment