Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to downgrade the kotlin version

I use map_view library in flutter project the error was The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'map_view' is using version 1.2.50.

like image 257
Heshmat Avatar asked Oct 18 '25 05:10

Heshmat


1 Answers

Try this. Go to YourFlutterProject/android/build.gradle

Replace to.

buildscript{
  ext.kotlin_version = '1.3.10'
....
like image 170
Akio Alex Avatar answered Oct 21 '25 02:10

Akio Alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!