We have new projects to be developed and have always wanted to use Android studio. So in the new project, decisive use. Here is the whole process of share my Android Studio project to SVN repository. Later consider whether to build the company's git server. Step by step.
1. Set the SVN client path: (my local SVN client is already installed before, so this is the default state)(This step is a necessary step, otherwise, the subsequent re-share project will be error, share project to the server warehouse is unsuccessful)
Error: If is directly according to this default to share project, will be error.
Annot Checkout from Svn:cannot Run Program "SVN": CreateProcess error=2,????? μ???
Then the online search information is required to specify the Svn.exe file.
Open My SVN installation directory, but found that D:\Program files\tortoisesvn\bin my directory below, does not exist this file. Causes and solutions:
Open SVN's TortoiseSVN.exe, then choose Modify to be OK. If you do not have the option to install it properly. The key is the part of the location below. Need confirmation, and modify it.
Down the menu, select the first one is OK.
After installing the SVN client according to the above fix, there is also a svn.exe. Then do the following
Repair the installation again. The Svn.exe appeared.
so the basic configuration for subversion is as follows: (very critical step)
originally wanted to set up the command line client's path assigned to Svn.exe, but found that svn.exe after the generation, this place is not set. there should be a mapping between this itself.
2. Add a file that needs to be submitted by SVN to ignore: (Add the final result such as, after opening this page, groping to know how to add to the following effect)
Note that what I'm share here is a newly created empty project, and if the relevant Libary module is associated with a project that needs share. It is also necessary to add the build file below this module to the SVN ignore.
Share project to SVN server in Vcs->...->share project, open the following interface:
4. After the project share, if it is empty, do the following to commit the local code to the SVN server repository. Your partner will be able to checkout and update your code after the submission is complete.
Android Studio share project to SVN warehouse