title: Can't add module dependency to CordovaLib for Cordova project using Android Studio
body: <p>I can't workout how to add the <code>CordovaLib</code> directory as a module dependency in Android Studio.</p>
  
  <p><em>(NOTE: this is the first time I've ever used Android Studio, so possibly I just don't know what I'm doing)</em></p>
  
  <p>I'm using:</p>
  
  <ul>
  <li>OSX Yosemite</li>
  <li>Android Studio 1.1.0</li>
  <li>Cordova 4.3</li>
  </ul>
  
  <p>Here are the steps I have taken:</p>
  
  <ol>
  <li>Create new cordova project</li>
  <li>Add android platform and some cordova plugins</li>
  <li>Import the generated project into Android Studio  (NOTE: when it asks about the gradle wrapper, I say no and just point it to where I have gradle installed - <code>/usr/local/Cellar/gradle/2.2.1/libexec</code>)</li>
  <li>Try to build - <strong>at this point it will complain for several of the Cordova plugins that <code>cannot find symbol class CordovaPlugin</code></strong></li>
  </ol>
  
  <p>Obviously it doesn't know about the <code>CordovaLib</code> subproject. <strong>This is what I'm trying to fix.</strong></p>
  
  <p>I can't work out how to tell the Android Studio that <code>CordovaLib</code> is a module dependency.</p>
  
  <p>I've gone to the <em>Project Structure</em> window, but can't see any way to link to CordovaLib.</p>
  
  <p><img src="https://i.stack.imgur.com/ixwiW.png" alt="Adding module dependencies in Android Studio"></p>
  
  <p>Clicking the "+" buttons does not do anything.  I can't work out if I'm doing something wrong, or there are bugs in Android Studio when importing the project...</p>
  
  <p><strong>Can someone please confirm if I'm doing something wrong?</strong></p>
  
  <p><strong>Or please confirm if they are able to import Cordova generated projects into Android Studio, using <em>Cordova 4.3</em> and <em>Android Studio 1.1.0</em>.</strong></p>
  
  <p>Thanks!</p>