0

The Android Studio I'm referring to is v 1.2.2

The *.iml files are not supposed to be a part of version control. I was not able to find official supporting link for this, but there're a few SO and Reddit threads supporting this; I tested myself to find that project can be started and built without these files.

The issue is that Android Studio constantly asks to add them to version control. There's an remember and don't ask again checkmark available, also, Version Control > Ignored Files in settings does the same; this is the officially supported solution.

The real problem is that this information is saved into /.idea/workplace.xml which itself is supposed to be ignored! (see generated .gitignore).

Is there any other persistent way? I know that svn:ignore property is not making any effect on IntelliJ's version control client.

TIA.

Useful links:

Is it mandatory to save *.iml files in Version control?

Prevent IntelliJ from adding iml files

Add ability to disable the feature to track obsolete svn:ignore (JetBrains bug tracker)

Community
  • 1
  • 1
port443
  • 561
  • 1
  • 4
  • 12
  • Is this an [tag:svn] or a [tag:git] question? You mentioned both `svn:ignore` and `.gitignore`... – Roman Sep 17 '15 at 18:45
  • @Roman, Subversion. `.gitignore` is just mentioned as a reference as this is something IntelliJ generates on its own; assumed to be correct :) – port443 Sep 17 '15 at 22:35

0 Answers0