My dependencies that I have right now installed in the project: cloudfirestore: 4.5.0 cupertinoicons: 1.0.2 firebaseanalytics: 10.2.0 firebaseauth: 4.4.0 firebasecore: 2.9.0. I even tried to update my gradle version still the issue was not fixed. Go to the Kotlin Gradle Plugin version checkup page, and get the latest version from the page. Reviewing the Gradle build configuration Review the default Gradle build file ( adle) located in project/android/app to verify the values are correct: Under the defaultConfig block applicationId Specify the final, unique application ID minSdkVersion Specify the minimum API level on which the app is designed to run. flutter clean flutter pub get flutter run. Here is the error message with the fix suggestion given by the Flutter SDK. Specify the API level Gradle should use to compile your app. The klutterPlugin generates the MethodChannel code used by the Flutter frontend to communicate with Kotlin Multiplatform backend. | then update E:\flutter_apps\geodata\android\adle: │ │ Your project requires a newer version of the Kotlin Gradle plugin. Run with -info or -debug option to get more log output. Flutter crashing on launch when updating Android Gradle Plugin to 4.0.0, Flutter Crash with Image Picker, App crashes after adding imagepicker plugin. Run with -stacktrace option to get the stack trace. Error Message: FAILURE: Build failed with an exception.Įxecution failed for task ':fluttertoast:compileDebugKotlin'. Google uses cookies to deliver its services, to personalize ads, and to analyze traffic. I would like to use the function Build->Generate Signed Bundle for my current Flutter project, but it tells me that i need to update the Android Gradle. This error occurs, when you have an older version of kotlin at adle. All current Flutter SDK releases, stable, beta, and master. If you are getting "your project requires a newer version of the kotlin gradle plugin" error while running your Flutter app, see the solution below to solve this error in Flutter.
0 Comments
Leave a Reply. |