android-troubleshoot Android studio using SVN error: XXX is not a working copy (XXX is not working copy)

Source: Internet
Author: User

In Android Studio, you can upload a module from project to the SVN server by using the VCs, import into Version control-> import to Subversion. However, when Android studio starts again, it will error:XXX is not a working copy (XXX is not working copy). This error means that there are several files in the current project that are not check out from SVN. Also, after modifying content in the previously uploaded module, it cannot be submitted to SVN, prompting "no changes detacted" (no changes found).

This is because the default configuration is to put the entire project into SVN. Enter Version Control, File, Setting, and the upper-right directory indicates the need to synchronize to the SVN directory. By default this is <project>, where the entire Project is synced to SVN.

So, the way to modify this is to delete the <Project> (use the minus "-" on the right), then add your own module (using the plus sign "+" on the right) and VCs select Subversion. Apply, save. Then, using the VCs--Check out from Version Control to download the module you just passed to the SVN server (rename it), and then continue with the code development in this module, it can be submitted and updated normally.

It is important to note that when you check out a project from SVN, you may be prompted to make project automatically, it is recommended to select No, after the module is downloaded (it will not compile, run, because it is only a normal directory, not a project!). ), manually modify the Setting.gradle file under Project (not the current module, the module does not have this file.) ), add the module that you just downloaded!

Problem solved satisfactorily!


android-troubleshoot Android studio using SVN error: XXX is not a working copy (XXX is not working copy)

Related Article

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.