Reputation: 1
I am trying to make my app into apk, but whenever I run flutter build apk --release, this error shows up
FAILURE: Build failed with an exception.
Upvotes: 0
Views: 36
Reputation: 3566
Flutter apps require a minimum of Kotlin Plugin 1.5.3 to run
To fix this you can do the following
Open /android/build.gradle, and change ext.kotlin_version:
buildscript {
ext.kotlin_version = '1.3.50' // Remove this.
ext.kotlin_version = '1.5.31' // Add this
More solutions and information about this can be found here
Upvotes: 0