title: Unable to find module with Gradle path. Linking to library -unspecified instead
body: <p><strong>Update 2</strong> This has been fixed in Android Studio 1.2 Beta 3</p>
  
  <p><strong>Update:</strong> This has reportedly been fixed in an upcoming release of Android Studio.</p>
  
  <p>In Android Studio 1.2 Beta 2 I started getting the following warnings when syncing Gradle. </p>
  
  <pre><code>Failed to set up dependencies
  Warning:Unable to find module with Gradle path ':Library1'. Linking to library 'Library1-unspecified' instead.
  Warning:Unable to find module with Gradle path ':Library2'. Linking to library 'Library2-unspecified' instead.
  </code></pre>
  
  <p>I've noticed that jumping to a declaration declared in one of the library modules pulls up the Decompiler instead of just going to the actual source in the library module.</p>
  
  <p>In my Android Studio Project I have the following modules:</p>
  
  <pre><code>- App
  - Library1
  - Library2
  </code></pre>
  
  <p>Module: App <code>build.gradle</code> snippet:</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile project(':Library1')
      compile project(':Library2')
  }
  </code></pre>
  
  <p><code>settings.gradle</code> file:</p>
  
  <pre><code>include ':App'
  include ':Library1'
  include ':Library2'
  project(':Library1').projectDir = new File(settingsDir, '../library1/lib')
  project(':Library2').projectDir = new File(settingsDir, '../Library2/lib')
  </code></pre>