8

I have already update the latest Android Gradle version but still showing the error when generating the signed bundle.

generating signed bundle requires you to update the android gradle plugin to version 3.2.0 or higher

enter image description here

Below i have share the version details.

buildscript {
ext.kotlin_version = '1.6.21'
repositories {
    google()
    mavenCentral()
}

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

}

distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip

Android studio version

Android Studio Bumblebee | 2021.1.1 Patch 3 Build #AI-211.7628.21.2111.8309675, built on March 16, 2022 Runtime version: 11.0.11+0-b60-7772763 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.4 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 8 Registry: external.system.auto.import.disabled=true Non-Bundled Plugins: Dart (211.7817), org.jetbrains.kotlin (211-1.6.21-release-334-AS7442.40), io.flutter (66.0.1)

Flutter version

Flutter 2.10.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision 5f105a6ca7 (3 months ago) • 2022-02-01 14:15:42 -0800 Engine • revision 776efd2034 Tools • Dart 2.16.0 • DevTools 2.9.2

Alpit Panchal
  • 709
  • 1
  • 7
  • 25

1 Answers1

0

Flutter editor in Android Studio doesn't have proper lint check for Android project code. You might need to access the gradle settings using Android editor for the changes to be indexed and rebuilt. To access the Android project with proper lint check, it's better to open it via Tools > Flutter > Open Android module in Android Studio

Opening Android Module

Omatt
  • 8,564
  • 2
  • 42
  • 144
  • I do not have that option. Or the iOS module one. That would be convenient. I am in Android Studio Electric Eel 2022.1.1, built Jan 11, 2023. Did they take that out? Either way, you can use the respective IDEs to open those projects directly. I'll add a more thorough answer below for people having my challenge, but if you have those options, I do think this would fix the problem. – Bourne Mar 03 '23 at 04:30