title: Android Studio 3.0 - Unable to resolve local dependency error
body: <p>I recently updated my Android Studio to version 3.0, and subsequently updated Gradle to version 4.1.</p>
  <p>Now, after I try to load my existing project I get the following errors:</p>
  <blockquote>
  <p>Error:Unable to resolve dependency for ':app@UnitTest/compileClasspath': Could not resolve project :intro-slider-lib.</p>
  <p>Error:Unable to resolve dependency for ':app@UnitTest/compileClasspath': Could not resolve project :intro-slider-lib.</p>
  </blockquote>
  <p>I've tried several solutions posted in other threads, but none seems to work. Here's my <strong>build.gradle (app)</strong> file:</p>
  <pre><code>apply plugin: 'com.android.application'
  
  allprojects{
      repositories {
          maven {
              url 'https://maven.google.com'
          }
      }
  }
  
  android {
      compileSdkVersion 25
      buildToolsVersion '26.0.2'
      defaultConfig {
          useLibrary 'org.apache.http.legacy'
          minSdkVersion 14
          targetSdkVersion 25
          versionCode 3
          versionName &quot;1.6&quot;
      }
      buildTypes {
          debug {
              debuggable true
              minifyEnabled true
              shrinkResources true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
          release {}
          ApkQuipons {}
          staging {
              matchingFallbacks = ['debug', 'qa', 'release']
          }
      }
  }
  
  dependencies {
  
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:25.1.0'
      compile 'com.android.support:cardview-v7:25.1.0'
      compile 'com.google.android.gms:play-services-gcm:10.0.1'
      compile 'com.android.support:design:25.1.0'
      compile 'com.android.volley:volley:1.0.0'
      implementation project(':intro-slider-lib')
  }
  </code></pre>
  <p>EDIT: Here's my <strong>build.gradle (project)</strong> code as well:</p>
  <pre><code>buildscript {
      repositories {
          jcenter()
          google()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  </code></pre>