Integrate Visual Studio online Git Repository to Android Studio 1.0.2

前端 未结 1 1521
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 10:40

I am using Visual Studio online for my development process. And I want to integrate my Android Studio 1.0.2 codes in it. However, as I know Android Studio has no TFS Plugin. Tha

1条回答
  •  走了就别回头了
    2021-02-01 11:03

    First you need to create a Team Project in Visual Studio Online that is configured to use Git as it's Source Control Repository:

    So, log on to you VSO account (or create one if you don't have one yet):

    enter image description here

    Create a new project from the dashboard:

    enter image description here

    In the "New Project Wizard" that comes up, make sure you select the use of Git:

    enter image description here

    Wait for the project to be created and click Navigate to Project when it's done. In the project's dashboard navigate to the Code tab:

    enter image description here

    And on the code tab you'll find your fresh Git repository.

    enter image description here

    You also get a notification that you must enable Basic Credentials so that git can connect (git doesn't support connecting to the Microsoft Account/Windows Live ID directly). If you haven't done so, now would be a good time.

    Open your profile to set that up:

    enter image description here

    And configure Basic Credentials:

    enter image description here

    Now you're ready to connect to Android Studio and open your Git repo on Visual Studio Online:

    enter image description here

    Enter the Git repository location that was highlighted on the repository page before:

    enter image description here

    And your Alternate Credentials as you had defined them.

    Android Studio will now ask you whether you want to create a project here. If you choose yes, you're all setup to start on your new project.

    If you choose no, you can move an existing project into the repository root you just created and commit and push it.

    0 讨论(0)
提交回复
热议问题