Android Studio SVN Configuration Summary

Source: Internet
Author: User
Tags svn client tortoisesvn


  • Recently began to study the use of Android studio for project development, has been using SVN for version management, so want to use SVN in Android Studio, there are many problems in the use process, access to a lot of information and many people, now recorded as follows:

    First, the installation configuration:

    Previously used Zendstudio and so on are directly installed plug-ins can be, but not here, you need to install the command line function of the SVN client, I use TORTOISESVN, it is said that after 1.7 to start support command line mode, I now In use 1.8.5 version

    , the installation must be customized to select command line otherwise it will not be installed



    When the installation is complete, open the IDE's setting Configuration panel:


    such as the Subersion setting under Path Version Control:

    Use the Command line Client to browse to the Svn.exe file path for your local installation of TortoiseSVN, such as: (Note that there is a browse button at the far right of the input box, it may not appear, the stretched window is visible)



    Once configured, the installation is complete

    Then the toolbar is like this


    Note: In addition to the above configuration, but also need to be particularly important settings, before the card is here, here also need to set up in the VCs;


    After setting:



    Second, import, check out SVN This is relatively simple:


    Under the CVS menu there is an Import into Version Control to choose SVN.

    Check out is similar, or you can check out and build the project from SVN in a new project

    In addition: The bottom section of the Browse VCS Repository can browse the remote SVN server files and delete the operation

    Iii. Ignore specifies that files or directories are ignored

    The ignore configured in the Androidstudio Setting panel seems to have little effect,

    Let's look at the display of the ignored directory (darker yellow-green color)


    In Setting configuration, the main ignored directories and files: (Although the settings here do not work, but still set it down)

    The system has two or three files and directories by default, I added the. Gradle. Idea build Directory I think these three directories should not follow SVN, each time the compilation of the local environment is not the same, and I encountered a build and idea under a library file is always conflicting, every A lot of updates, so it was removed.


    To add the Ignore by TortoiseSVN:


    For updates and submissions


    The two small buttons are very operational, the green is commit, the downward blue is the update


     


From for notes (Wiz)

Android Studio SVN Configuration Summary

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.