Today, when a new colleague uses SVN to submit a project to the server, Android Studio prompts for a successful submission, but there is no corresponding content on the servers side. The question is summarized as follows:
Fault Occurrence Description
Write in Android Studio to develop projects under SVN. Several new classes have been added to the project. (At this point, the new class is shown in red in studio) the new class commits directly to the server after the development is completed. Studio also showed that the submission was successful. At this point to the server view will find that there is no new submission on the code.
Solutions
The problem is that when you add new content to the SVN project, if you want to upload the new content to the server, you need to add the content to the VCs before committing again to upload to the service side.
Specific solutions:
Select the newly created file, right-Subversion–>add to VCS, and then commit to upload successfully.
file colors in Android studio mean meaning (differs from Eclipse)
Red: New locally created file, no server, no list to upload. Add to VCs is required before committing.
Green: Local newly created file, server not, to upload list has, can be submitted directly.
Blue: Local New Modified file, server has, local also, but the version is not the same, can be submitted successfully, need to see whether there is a conflict.