执行命令时出现问题 "flutter build appbundle"

Problem executing command "flutter build appbundle"

我在执行命令“flutter build appbundle”时遇到问题。

我将所有配置放在存档中 build.gradle,modifiquei para todas as versões as dependências "google-services" e "build.gradle", nenhuma funcionou。

我也在一个新项目上测试过,没有依赖项,也没有用。

我认为是版本不匹配。

以下是我的设置。

依赖版本:

    dependencies {
    classpath 'com.android.tools.build:gradle:3.5.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.google.gms:google-services:4.3.3'
    }

关键属性:

storePassword=password
keyPassword=password
keyAlias=key
storeFile=C:\users\victo\key.jks

build.gradle

   def keystoreProperties = new Properties()
   def keystorePropertiesFile = rootProject.file('key.properties')
   if (keystorePropertiesFile.exists()) {
   keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) //line 32
   }
...
signingConfigs {
   release {
       keyAlias keystoreProperties['keyAlias']
       keyPassword keystoreProperties['keyPassword']
       storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : 
       null
       storePassword keystoreProperties['storePassword']
   }
}
buildTypes {
   release {
       signingConfig signingConfigs.release
   }
}

问题出在我身上,别名不正确!!!