Crash App when add flutter module to existing apps

VM snapshot invalid and could not be inferred from settings

  1. 没有配置相同的flavor
  2. 复制debug下的flutter_assets文件到文件下
  3. 对比执行任务flutter.gradle源码,寻找过程
  4. 最终定位到 release debugable设置为了true 导致了

https://dandelioncloud.cn/article/details/1458764468221202434
https://github.com/flutter/flutter/issues/19818

你可能感兴趣的:(Crash App when add flutter module to existing apps)