title: Android Studio - Multiple android apps with common dependencies in a single project
body: <p>I have two different android apps A and B.
  A and B are modules in the same project</p>
  
  <p>Both have a dependency on a library module Z which itself depends on two other library modules X and Y</p>
  
  <ul>
  <li>A -> Z</li>
  <li>B -> Z</li>
  </ul>
  
  <blockquote>
    <p>Z -> X, Y</p>
  </blockquote>
  
  <p>Now the accepted answer to this <a href="https://stackoverflow.com/questions/32419621/can-we-have-multiple-apps-in-one-android-studio-project">question</a> says that a single Android Studio project cannot have multiple apps.</p>
  
  <p>Strangely I am able to build these two apps (in a single android studio project) and run them on my phone pretty well. Am I missing something obvious here ?</p>
  
  <p><strong>Can a single android studio project contain multiple apps ?</strong></p>
  
  <ol>
  <li>If the answer is NO, why ? </li>
  <li>If the answer is YES, are there any catches ?</li>
  </ol>