flutter 安卓运行e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong bytecode generated

flutter 安卓运行e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong bytecode generated

参考:https://www.jianshu.com/p/4641067467c2

fluwx 升级到 2.2.0 后, 出现这个问题,

解决方法:

在flutter项目下的android>build.gradle文件里修改kotlin 版本号
升级下 kotlin 版本 ext.kotlin_version = '1.3.72' 后可以运行
flutter 默认是 ext.kotlin_version = '1.3.50'