title: Execution failed for task ':app:generateDebugBuildConfig'. > java.io.FileNotFoundException:
body: <p>I just tried to set firestore with my flutter app. Affter doing it when I tried to run and debug my app 2  error was shown:</p>
  <ol>
  <li>Execution failed for task ':app:generateDebugBuildConfig'.</li>
  </ol>
  <blockquote>
  <p>java.io.FileNotFoundException: F:\Harsh\flutter_projects\Coach Ui\code_ui\build\app\generated\source\buildConfig\debug\com\example\code_ui \BuildConfig.java (The system cannot find the path specified)</p>
  </blockquote>
  <p>2)Gradle threw an error while downloading artifacts from the network. Retrying to download...</p>
  <p>Build Gradle under app (only provided main code in question)</p>
  <pre><code>android {
       compileSdkVersion 28
  
  sourceSets {
      main.java.srcDirs += 'src/main/kotlin'
  }
  
  lintOptions {
      disable 'InvalidPackage'
  }
  
  defaultConfig {
      // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
      applicationId &quot;com.example.code_ui&quot;
      minSdkVersion 21
      targetSdkVersion 28
      versionCode flutterVersionCode.toInteger()
      versionName flutterVersionName
  }
  
  buildTypes {
      release {
          // TODO: Add your own signing config for the release build.
          // Signing with the debug keys for now, so `flutter run --release` works.
          signingConfig signingConfigs.debug
      }
   }
  }
  
  flutter {
      source '../..'
  }
  
  dependencies {
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;
   }
   apply plugin: 'com.google.gms.google-services'
  </code></pre>
  <p>Build gradle under android</p>
  <pre><code>     dependencies {
      classpath 'com.android.tools.build:gradle:3.5.0'
      classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
      classpath 'com.google.gms:google-services:4.3.3'
     }
     }
  </code></pre>
  <p>Dependencies Under pubspec</p>
  <pre><code> dependencies:
   flutter:
   sdk: flutter
  
  
   # The following adds the Cupertino Icons font to your application.
   # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3
  firebase_auth: ^0.16.1 
  cloud_firestore: ^0.13.7
  </code></pre>