How to Use AndroidStudio to upload and ignore files to the SVN Server: androidstudiosvn
When sharing projects in the same group, it is easy to put local configuration files such *. iml and other files are uploaded to the shared server, which will cause great trouble to teammates. To solve this problem, you can use the following method to solve it. The app uploaded to the server is as follows. the iml file is used as an example.
1. Cancel ignoring the file suffix ". iml" in the AS Setting ";
2. Find the "app. iml" file under the current project in the Windows directory, right-click the file, and select TortoiseSVN, such as location 2:
Figure 2
Select Delete under this item to Delete the file, as shown in Figure 3:
Figure 3
3. After deleting the file, submit it to the server again in the current directory, which is similar to normal submission. The file is no longer displayed after the server is refreshed. See Figure 4.
Figure 4
4. Return to the AS, set the ignore file again, and add the "*. iml" suffix to ignore;
5. Close the current project and open it again. When you open the project, select import project. Or download the latest project from the server again.