title: Android Studio adds libraries.iml file
body: <p>I've just created a <em>Multi project setup for my Android project in Android Studio as suggested by <a href="http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Dependencies-Android-Libraries-and-Multi-project-setup" rel="nofollow">Gradle Plugin User Guide</a>. Here</em> is the file structure I have</p>
  
  <pre><code>MyProject/
   | settings.gradle
   | build.gradle
   | MyProject.iml
   + app/
      | build.gradle
      | app.iml
   + libraries/
      + lib1/
         | build.gradle
         | lib1.iml
  </code></pre>
  
  <p>There is three modules in this configuration - <code>MyProjects.iml</code>, <code>app.iml</code> and <code>lib1.iml</code>. Although everything works just fine and project builds successfully, there is one annoying issue with it. Android Studio constantly creates a <code>libraries.iml</code> file under <code>libraries</code> folder and makes that folder a module.</p>
  
  <p>That's why is the question. Is this a normal behaviour and - if not - how to get rid of it?</p>
  
  <p>I tried to remove <code>libraries.iml</code> file and update <code>MyProject.iml</code> with no luck. The file appears again and again.</p>
  
  <p><strong>Update &amp; final solution:</strong>
  To avoid all that hassle with generated files distracting our attention, I configured Android Studio to not show them at the end.</p>
  
  <pre><code>File (Android Studio on Mac) -&gt; Preferences... -&gt; File Types -&gt; Ignore
  files and folders: .DS_Store;.git;*.iml;.idea;
  </code></pre>