![]() ![]() Enter the credentials for github and click login, it will generate the API Token like shown below.ĥ) In the above login screen click the checkbox "Save Credentials" so that we won't have to do this process each time we try create a repository. So first of all click on "Create API token" to generate one.Ĥ) When "Create API Token" is clicked, it will bring up the following screen to login into github. ![]() ![]() We will be required to perform this only once since we will be generating an API token during our first login and then will be using this saved token value to login further. Once the project has finished the building process, goto the VCS option on the top menu as shown belowĢ) From the above VCS option navigate VCS > Import into version control > Share project on Github like shown in the image belowģ) Now we will be asked to login with your github credentials before sharing the project on github. ![]() Now follow the below steps to create a github repository in the above created account from android studio :ġ) First of all open up android studio and create a brand new android studio project. Thank you for reading Check my other post How to clone a GitHub project on Android Studio for the demo on how to consume a cloned project. If you login to GitHub and navigate to your repositories, you will see the new project in there. So Android Studio will help us in creating the repository, adding all the files for commit, commit the files to be pushed and finally push the project to the github repository created.ġ) Download and install git if you haven't already done.Ģ) go here and create a github account > Successfully Shared on GitHub message on Android Studio 1.x. All the hassles will be handled by android studio. It significantly reduces the hassle and also saves a lot of time since we won't be spending much time on writing the commands or be going to the github website to create new repository. Entire process from repository creation to your first push will be completely carried out on your android studio IDE, provided that you already have git installed on your pc and that you have a valid github account. For this purpose we will not be required to open command line or the web browser. Then,you should follow the steps below,in you project,chose Android studio File->new->import module. Hi guys in this tutorial we will see how to create a github repository from Android Studio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |