The module 'app' is an Android project without build variants : <p>I am getting below error while importing android project.</p>

<p>Error:The module 'app' is an Android project without build variants, and cannot be built.
    Please fix the module's configuration in the build.gradle file and sync the project again.</p>

<p>Gradle file code.</p>

<pre><code>apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
    applicationId "com.djalel.android.bilal"
    minSdkVersion 9
    targetSdkVersion 25
    versionCode 4
    versionName "1.3"
}

buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt')
    }
}

aaptOptions {
    cruncherEnabled = false
}
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:25.3.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:25.3.1'
implementation 'com.android.support:support-v4:25.3.1'
implementation 'com.google.android.gms:play-services-location:12.0.1'
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1'
implementation 'com.jakewharton.timber:timber:3.1.0'
}
repositories {
mavenCentral()
}
</code></pre>

<p>I checked with working gradle file as well but getting same error in this project.</p>
