title: Android studio error No variants found for 'app'
body: <p>I was opening this webview project and met an error immediatly on importing the project.</p>
  <p><strong>No variants found for 'app'. Check build files to ensure at least one variant exists.</strong></p>
  <p>Already tried <a href="https://stackoverflow.com/questions/64366729/android-studio-no-build-variant-found-error">this</a>  and it didn't help. I am new to android, someone please help.</p>
  <p>The following is the build.gradle file</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      ext.kotlin_version = '1.3.41'
      ext.kotlin_version = '1.3.21'
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.4.2'
          classpath 'com.google.gms:google-services:4.3.0'
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>Here is the full project <a href="https://github.com/mgks/Kotlin-SmartWebView" rel="nofollow noreferrer">https://github.com/mgks/Kotlin-SmartWebView</a></p>
  <p><a href="https://i.stack.imgur.com/woB39.png" rel="nofollow noreferrer">enter image description here</a></p>