I installed everything I needed following the instructions in https://docs.flutter.dev/get-started/install/windows. I believe that there is an error in the code, please tell me how to fix it?
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
CodePudding user response:
Change the version of qr_code_scanner in pubsec.yaml to 1.0.0!
CodePudding user response:
try update kotlin_version to 1.7.10
and update com.android.tools.build:gradle to last varsion
then
flutter clean && flutter pub get