I create a new flutter project in android studio then "open project" the android part of it, I met an error in MainActivity.kt however it builds successfully.
My class pathes are:
and finally my dependencies are:
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.70"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
I would be grateful if someone could help me.