Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update the Android Gradle plugin to version 3.2.0 or higher / generate Flutter signed APK

I'm developing a flutter cross-platform supporting app using Android Studio.

Now I'm trying to generate signed APK for app-release but I face this following error:

'Generating signed Bundle requires you to update the Android Gradle plugin to version 3.2.0 or higher'.

How can I fix this? I have not a single clue..

Best regards!

like image 635
Rusben Wladiskoz Avatar asked Jul 27 '19 16:07

Rusben Wladiskoz


4 Answers

Update your Android studio editor with 3.4.2 or gradle version 5.1.1 you need to update your editor. Or else only change gradle version with Click here 5.1.1 https://gradle.org/releases/

like image 139
Tarang Mishra Avatar answered Nov 14 '22 13:11

Tarang Mishra


you can update the build.gradle file enter image description here

like image 27
Smaillns Avatar answered Nov 14 '22 12:11

Smaillns


You need to update your Android Gradle Plugin.

These posts should help: How to update gradle in android studio?

https://developer.android.com/studio/releases/gradle-plugin

like image 3
Eric Duffett Avatar answered Nov 14 '22 12:11

Eric Duffett


I got this error when trying to build "Generate Signed Bundle / APK" from the flutter workspace.

The solution for me was to open the android project folder in android studio (as android project) and the error is gone.

like image 3
Harmen Avatar answered Nov 14 '22 12:11

Harmen