title: android studio 2.2 preview app cannot recognize library dependencies
body: <p>i have a project with library project,third dependencies in library project:</p>
  
  <p>library build.gradle</p>
  
  <pre><code>dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.android.support:design:23.2.1'
    compile 'com.android.support:support-v4:23.2.1'
  
    compile 'io.reactivex:rxandroid:1.1.0'
    compile 'com.jakewharton.rxbinding:rxbinding:0.4.0'
    compile 'com.jakewharton:butterknife:7.0.1'
  
    compile 'com.facebook.fresco:fresco:0.9.0'
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.github.satyan:sugar:1.4'
    compile 'org.greenrobot:eventbus:3.0.0'
    compile 'com.jakewharton.timber:timber:4.1.1'
  
    compile 'com.android.support:multidex:1.0.1'
    testCompile 'junit:junit:4.12'
  }
  </code></pre>
  
  <p>app build.gradle</p>
  
  <pre><code>dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
  
    //compile project(':library')
    debugCompile project(path: ':library', configuration: 'debug')
    releaseCompile project(path: ':library', configuration: 'release')
  }
  </code></pre>
  
  <p>now i got a problem,which is i can't use dependencies class in library.somewhat it din't recognize these libs.</p>
  
  <p><a href="https://i.stack.imgur.com/Id8bB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Id8bB.png" alt="enter image description here"></a></p>
  
  <p>but when i put dependencies to app build.grandle. this problem gone.
  so could anybody help me? what's the problem.</p>
  
  <p>thanks!</p>