title: Cannot import import android.support.v7.widget.RecyclerView;
body: <p>While learning about RecyclerView, I am facing some problem. GreenAdapter Class failed to import “android.support.v7.widget.RecyclerView”. I am using Android Studio 3.1.4. My compile SDK Version is 28. Here's my build.gradle File:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
  
  
  
      defaultConfig {
          applicationId "com.example.sunshine.sunshine.app"
          minSdkVersion 17
          targetSdkVersion 28
          versionCode 1
          versionName "1.0"
  
  
      }
  
      buildTypes {
         release {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
         }
      }
  
  }
  
  dependencies {
      implementation project(':sunshinemodule')
      implementation project(':base')
  
      implementation 'com.android.support:design:28.0.0-rc01'
  }
  </code></pre>
  
  
  
  <p>I am also sharing the code where the import is not working:</p>
  
  <p><a href="https://i.stack.imgur.com/5gzXM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5gzXM.jpg" alt="enter image description here"></a></p>