The binary version of its metadata is 1.5.1, expected version is 1.1.16

The binary version of its metadata is 1.5.1, expected version is 1.1.16

In the development process of using flutter, we encountered the version conflict of kotlin. We searched many methods on the Internet and found that they could not be solved.

Finally, we found that we need to upgrade the kotlin version, and then upgrade the gradle version.

I’d like to upgrade here to:

The kotlin version changes to:

ext.kotlin_version = '1.5.0'

Gradle version changed to:

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

If you encounter kotlin, you can try to upgrade the version. Note that kotlin corresponds to gradle.


Read More: