AndroidStudio uses svn for version control and androidstudiosvn

Source: Internet
Author: User

AndroidStudio uses svn for version control and androidstudiosvn

  • Use svn for andoridStudio configuration (take windows as an example)

1. Install the svn client program TortoiseSVN first. Check command line client tools (not installed by default) during installation)

2. For androidstudio configuration, select use command line clientand select the svn.exe file in the bin folder of the installation directory. Others remain unchanged.

3. Configuration ignore files. Project ignore files can only be configured before they are shared, and cannot be modified after they are shared. Generally, the following files and folders are ignored for Android projects. The first two actions are automatically generated, and you can add them later.

4. For a shared project, select vcs-import into version control-share project (subersion)

 

5. You can select an existing remote warehouse or select + to create a remote warehouse.

 

6. Select the shared directory (Define share target). The first file stores the current repository directory. This option is generally not recommended.

The second item is to create a folder in the current directory named after the project name.

The third item is based on the second item and a new folder trunk is created.

7. Click share and then select 1.8 format.

8. Then it succeeds. Note that the file is not actually uploaded to the remote warehouse, but a folder is created in the remote warehouse. This step may take a long time.

9. Submit the entire project folder in the project view. After the project is submitted successfully, some common svn operations will be performed.

10. Import a project from a remote repository to the

  

11. Select the project folder

 

 

12. Select the local storage directory

13. Select 1.8 format by default. The following figure is displayed. You can select the local gradle tool or the default one. We recommend that you use the local one.

14. When you click OK, the SDK location not found. Define location with sdk. dir in the local. properties may be reported .... This is because local is missing. properties file, which records various addresses such as sdk and ndk. You can copy the file from other local projects to the project root directory after checkout, and then encode it happily.

 

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.