Post History
`plugins { id 'com.android.application' } android { compileNdk flutter.compileNdkVersion compileOptions{ sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion...
Question
android
#1: Initial revision
how do i fix flutter error in build.gradle file android studio
`plugins { id 'com.android.application' } android { compileNdk flutter.compileNdkVersion compileOptions{ sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions{ jvmTarget = "1.8" } sourceSets{ main.java.srcDir +='src/main/kotlin' } defaultConfig { applicationId "com.example.block7" minSdk localProperties . getProperty('flutter.minSdkVersion').toInteger() targetSdk localProperties . getProperty('flutter.targetSdkVersion').toInteger() versionCode flutterVersionCode . toInteger() versionName flutterVersionCode . toInteger() testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" value "test" targetSdkVersion 30 minSdkVersion 30 }`