title: Android Studio cannot resolve symbols from imported AAR module
body: <p>All of the answers in similar questions talk about manunally editting gradle files. But I've used Android Studio to import the AAR file and checked the build.gradle files and they all seem correct.</p>
  <p>My problem is this:</p>
  <p><img src="https://i.stack.imgur.com/Zj9kh.png" alt="failed imports" /></p>
  <p>I've imported ShowCaseView v5.0.0 AAR but when I try to import the classes in my Tutorial.java file (you can see in red) Android Studio doesn't recognise the classes. The only import that Android Studio recognises is <code>com.github.amlcurran.showcaseview.R</code>.</p>
  <p>I've also tried to clean &amp; rebuild the project, and close &amp; reopen Android Studio but it doesn't help.</p>
  <p>P.S. please ignore the missing XML files as that was before I copied them into the project.</p>
  <h1>Gradle files</h1>
  <p>ShowCaseView-5.0.0 &gt; build.gradle:</p>
  <pre><code>configurations.create(&quot;default&quot;)
  artifacts.add(&quot;default&quot;, file('ShowCaseView-5.0.0.aar'))
  </code></pre>
  <p>My app's build.gradle:</p>
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion &quot;21.1.2&quot;
  
      defaultConfig {
          applicationId &quot;com.giraffeweather&quot;
          minSdkVersion 19
          targetSdkVersion 21
          versionCode 1
          versionName &quot;1.0&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile project(':ShowCaseView-5.0.0')
  }
  </code></pre>
  <p>The Android Studio project's build.gradle:</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.1.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  <p>The gradle settings file settings.gradle:</p>
  <pre><code>include ':app', ':ShowCaseView-5.0.0'
  </code></pre>