问题描述
我遇到Flutter(v 1.17)Release APK的问题.调试APK正常运行.当我构建Release APK时,该应用会显示白屏,并且崩溃,并带来以下登录崩溃.
I am facing an issue with Flutter(v 1.17) Release APK. Debug APK is working fine. When I build Release APK the App shows white screen and it crashes and it brings following log on crash.
我检查了以下链接,并尝试了列出的解决方案,但没有用
I have checked following links and tried the solutions listed but they didn’t worked
https://github.com/flutter/flutter/issues/48622#issuecomment-573405643
https://github.com/flutter/flutter/issues/47462
https://github.com/flutter/flutter/issues/58479
当我删除 image_picker(^ 0.6.7 + 1)插件时,发行版便可以正常工作美好的.所以这与此有关.
When I remove the image_picker(^0.6.7+1) plugin then the release build works fine. So it’s something related to that.
如果有人遇到过类似的问题,请帮忙.
If anybody has faced similar issue kindly help.
推荐答案
将build.gradle文件中的Android Gradle插件降级到3.6.2可以正常工作,但是如何与build.gradle 4.0.0一起工作
Downgrade back the Android Gradle Plugin in your build.gradle file to 3.6.2 is working but how it work with build.gradle 4.0.0
这篇关于Flutter释放APK崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!