Home > Net >  Gradle task assembleDebug failed with exit code 1 flutter
Gradle task assembleDebug failed with exit code 1 flutter

Time:12-24

I am trying to Integrate firebase with my flutter project but it is stopping while building gradle saying Gradle task assembleDebug failed with exit code 1 My flutter is fully upgraded, anyone tell me how to solve it.

I followed the steps of integrating firebase but it's build is failing. enter image description here

CodePudding user response:

in android build.gradle make sure to have this

dependencies {
    classpath 'com.android.tools.build:gradle:7.0.2'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.google.gms:google-services:4.3.10'
}
  • Related