0
点赞
收藏
分享

微信扫一扫

Flutter 疑难问题

在觉 2021-10-09 阅读 45

1.Flutter入门疑难杂症: iOS 14 下 image_picker 第二次点击读取拍照崩溃(真机没有问题,模拟器有问题)

解决方案:升级flutter版本 , 目前用 master 1.24.0-3.0pre 版本可以解决问题.后续等待出stable版本吧

2.Flutter 升级最新版本 使用 treeview 打包报错 This application cannot tree shake icons fonts. It has non-constant instances of IconData at the following locations

解决方法 :图标数据加载问题。 最新版本flutter sdk 存在的bug。打包时加上 --no-tree-shake-icons

即:flutter build ios --no-tree-shake-icons

举报

相关推荐

0 条评论