title: Android Studio "Scanning For Files To Index"
body: <p>I am trying to achieve the following project structure in Android Studio</p>
  
  <pre><code>project/
      projectA/
      projectB/
  </code></pre>
  
  <p>Where <code>projectA</code> is an "app" module created by Android Studio which I have renamed, and <code>projectB</code> is a Kotlin project I wish to depend on in the app. I can get the projects to appear correctly as modules in my project however no matter what I try, as soon as I add <code>projectB</code> to my Android Studio project, it seems to get stuck in a loop "searching for files to index". When I look at the files it is always just looping through the same 2-3 files. They are always META-INF files but not always the same ones.</p>
  
  <p>How do I successfully add a module to an Android Studio Project without hitting this error or how can I set out my project from the start to achieve this structure?</p>
  
  <p>Thanks.</p>