title: Error:Plugin with id 'kotlin-android' not found. on android studio
body: <p>I get this error when I add this to Android Studio</p>
  <pre><code>&quot;Error:Plugin with id 'kotlin-android' not found.&quot;.
  </code></pre>
  <p>I am trying to install opencv on my android, but it will not work.
  I made a new project in my Android that is empty but works</p>
  <p>My build gradle</p>
  <pre><code>apply plugin: 'com.android.library'
  apply plugin: 'kotlin-android'
  
  def openCVersionName = &quot;4.5.4&quot;
  def openCVersionCode = ((4 * 100 + 5) * 100 + 4) * 10 + 0
  
  println &quot;OpenCV: &quot; +openCVersionName + &quot; &quot; + project.buildscript.sourceFile
  
  android {
  compileSdkVersion 26
  
  defaultConfig {
      minSdkVersion 21
      targetSdkVersion 26
  
      versionCode openCVersionCode
      versionName openCVersionName
  
      externalNativeBuild {
          cmake {
              arguments &quot;-DANDROID_STL=c++_shared&quot;
              targets &quot;opencv_jni_shared&quot;
          }
      }
  }
  
  buildTypes {
      debug {
          packagingOptions {
              doNotStrip '**/*.so'  // controlled by OpenCV CMake scripts
          }
      }
      release {
          packagingOptions {
              doNotStrip '**/*.so'  // controlled by OpenCV CMake scripts
          }
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
      }
  }
  
  sourceSets {
      main {
          jniLibs.srcDirs = ['native/libs']
          java.srcDirs = ['java/src']
          aidl.srcDirs = ['java/src']
          res.srcDirs = ['java/res']
          manifest.srcFile 'java/AndroidManifest.xml'
      }
  }
  
  externalNativeBuild {
      cmake {
          path (project.projectDir.toString() + '/libcxx_helper/CMakeLists.txt')
      }
  }
  }
  
  dependencies {
  }
  </code></pre>