title: import kotlinx.android.synthetic failed : Android studio doesn't find it but I can run the app
body: <p>I found a lot of things about the subject, but not enough to fix it, so here I go.</p>
  <p>I just arrived on a new project and they have a heavy problem :</p>
  <pre><code>import kotlinx.android.synthetic
  </code></pre>
  <p>is unresolved by Android Studio. The project runs, and there is no problem during the build, but Android Studio shows me a lot of errors in the code because it does not recognize the layout. Which means no shortcut for the layout/components.</p>
  <p>We have, I think, already import the correct plugin :</p>
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'kotlin-android-extensions'
  apply plugin: 'kotlin-kapt'
  apply plugin: 'org.jetbrains.kotlin.android.extensions'
  </code></pre>
  <p>I tried removing apply plugin: 'org.jetbrains.kotlin.android.extensions', but it doesn't help. We also have classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot; in our buildscript dependencies.</p>
  <p>Not an expert in Gradle but open for any help!</p>