title: Android Retrofit Cannot resolve symbol AuthenticationInterceptor
body: <p>I am creating a simple retrofit, but I get this error:</p>
  
  <blockquote>
    <p>Cannot resolve symbol AuthenticationInterceptor</p>
  </blockquote>
  
  <p>Here:</p>
  
  <pre><code>public static &lt;S&gt; S createService(
          Class&lt;S&gt; serviceClass, final String authToken) {
      if (!TextUtils.isEmpty(authToken)) {
          AuthenticationInterceptor interceptor =
                  new AuthenticationInterceptor(authToken);
  
          if (!httpClient.interceptors().contains(interceptor)) {
              httpClient.addInterceptor(interceptor);
  
              builder.client(httpClient.build());
              retrofit = builder.build();
          }
      }
  
      return retrofit.create(serviceClass);
  }
  </code></pre>
  
  <p>My build gradle Looks like this:</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      compile 'com.android.support:appcompat-v7:25.3.1'
      compile 'com.keiferstone:nonet:2.0.4'
      compile 'com.github.GrenderG:Toasty:1.2.5'
      compile 'com.lmntrx.livin.library.droidawesome:droid-awesome:1.1.9'
      testCompile 'junit:junit:4.12'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'me.pushy:sdk:1.0.28'
      compile 'com.squareup.retrofit2:retrofit:2.3.0'
      compile 'com.google.code.gson:gson:2.6.2'
      compile 'com.squareup.retrofit2:converter-gson:2.0.2'
  }
  </code></pre>