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.