Using SVN in Androidstudio

Source: Internet
Author: User
Tags tortoisesvn

Using SVN to submit a project in Androidstudio

1, install SVN, I choose to use tortoisesvn-1.8.7.25475-x64-svn-1.8.9.msi(Installation file address is as follows: http://download.csdn.net/detail/ fengbianyun/9508797), not Setup-subversion-1.8.15.msi (because in this version I met a variety of pits, code various submissions do not go up)

When installing this SVN file Note: (Command line operation is required in Androidstudio, that is, Svn.exe file, the default installation is not Svn.exe file)

The rest will be done in the next step.

Then associate the local SVN in studio

File-->setting-->version control-->subversion-->general-->use command line client, select Local Svn.exe

C:\Program Files\tortoisesvn\bin\svn.exe (This is my SVN address)

Apply--->ok

2, the new project and SVN to establish a connection to the new studio project (step ignored), after the creation is complete, select project

Eject associated SVN address information, at this time need to enter the SVN username password, and so on, step directly ignored, completed

Select Subversion Working Copy Format

I choose 1.8format (anyway, with 1.6 problems, too lazy to run to stackoverflow inside to find the answer)

It will run to the Share Directory dialog box, this time ... such as

If there is no big problem, the following interface will appear

OK, all right.

Indicates that the local studio project has been linked to SVN.

Submit Project

Select Project, right-click the mouse button

The code is then parsed, and when the analysis is complete, a dialog box pops up that submits the code

See if there is no need to submit the code, the √ is removed, and then click Commit, the code to commit.

This is a lengthy wait process, and if there are no errors, the code will be submitted successfully after a few minutes.

Description of the file color in Androidstudio

Red: Indicates that the file was not added to the server (no associated with SVN server, want to associate, select File, right-click--subversion-->add to VCS)

Green: Indicates that no new modifications have been updated to the server. Typically the newly created file is associated with SVN and this effect occurs.

Black: Indicates synchronization with the server.

Blue: Indicates that the file associated with SVN has been modified and needs to be submitted to SVN at the next commit.

Androidstudio submitted in the project is not submitted

In fact, this thing is really not my operation of the problem, is to use the Setup-subversion-1.8.15.msi appeared a bunch of bugs, rage, using the TortoiseSVN.

Using SVN in Androidstudio

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.