title: Task 'assembleAarRelease' not found in root project 'connectivity'. While building App Bundle
body: <p><strong>Getting Error While Building App</strong></p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Task 'assembleAarRelease' not found in root project 'connectivity'.</li>
  <li>Try:
  Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</li>
  <li>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a>
  BUILD FAILED in 1s
  The plugin connectivity could not be built due to the issue above.</li>
  </ul>
  <p><strong>Project-Level Build Gradle File</strong></p>
  <pre><code>buildscript {
  ext.kotlin_version = '1.3.50'
  repositories {
      google()
      jcenter()
  }
  
  dependencies {
      classpath 'com.android.tools.build:gradle:3.5.1'
      classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
               }
        }
  
     allprojects {
     repositories {
      google()
      jcenter()
  }
  }
  
  rootProject.buildDir = '../build'
  subprojects {
  project.buildDir = &quot;${rootProject.buildDir}/${project.name}&quot;
  }
  subprojects {
  project.evaluationDependsOn(':app')
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>
  <p><strong>App-Level Build Gradle File</strong></p>
  <pre><code>`def localProperties = new Properties()
  def localPropertiesFile = rootProject.file('local.properties')
  if (localPropertiesFile.exists()) {
  localPropertiesFile.withReader('UTF-8') { reader -&gt;
      localProperties.load(reader)
  }
  }
  
  def flutterRoot = localProperties.getProperty('flutter.sdk')
  if (flutterRoot == null) {
  throw new FileNotFoundException(&quot;Flutter SDK not found. Define 
  location with flutter.sdk in the local.properties file.&quot;)
  
  }
  
  def flutterVersionCode = 
  localProperties.getProperty('flutter.versionCode')
  if (flutterVersionCode == null) {
  flutterVersionCode = '1'
  }
  
  def flutterVersionName = 
  localProperties.getProperty('flutter.versionName')
  if (flutterVersionName == null) {
  flutterVersionName = '1.0'
  }
  
  apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply from: 
  &quot;$flutterRoot/packages/flutter_tools/gradle/flutter.gradle&quot;
  
  
  
  def keystoreProperties = new Properties()
  def keystorePropertiesFile = 
  rootProject.file('key.properties')
  if (keystorePropertiesFile.exists()) {
  keystoreProperties.load(new 
  FileInputStream(keystorePropertiesFile))
  }
  
  android {
  compileSdkVersion 30
  
  
  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;ai.srp.erp_mobile&quot;
  
      minSdkVersion 21
      targetSdkVersion 30
      versionCode flutterVersionCode.toInteger()
      versionName flutterVersionName
      testInstrumentationRunner 
     &quot;androidx.test.runner.AndroidJUnitRunner&quot;
      multiDexEnabled true
  }
  
  
  dependencies {
      implementation 'com.android.support:multidex:1.0.3'
  }
  
  signingConfigs {
      release {
          keyAlias keystoreProperties['keyAlias']
          keyPassword keystoreProperties['keyPassword']
          storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
          storePassword keystoreProperties['storePassword']
      }
  }
  buildTypes {
      release {
          signingConfig signingConfigs.release
          minifyEnabled true
          useProguard true
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  
      }
  }
  
  }
  
  flutter {
  source '../..'
  }
  
  dependencies {
  implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;
  testImplementation 'junit:junit:4.12'
  api 'com.android.support:design:28.0.0-alpha1'
  implementation 'com.google.android.material:material:1.0.0'
  androidTestImplementation 'androidx.test:runner:1.1.1'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  } `
  </code></pre>