报错
Error 105 received from application: Isolate must be runnable
Hot reload received invalid response: {code: 105, message: Isolate must be runnable, data: {request: {method: _reloadSources, params: {pause: true, rootLibUri: file:///data/user/0/comxxxxxcode_cache/xxxxxx_flutterQNJLKI/xxxxx_flutter/lib/main.dart.incremental.dill, packagesUri: file:///data/user/0/com.xxxxx/code_cache/xxxxx_flutterQNJLKI/xxxxx_flutter/.packages, isolateId: isolates/984563198182111}}, details: Isolate must be runnable before this request is made.}}
原因:Flutter脚本没有将相关资源打入原生项目,将Flutter目录 下的C:\Users\Administrator\AndroidStudioProjects\xxxxx_flutter.android\Flutter\build\outputs\aar里的Flutter asset文件手动拷贝到原生项目的C:\Users\Administrator\AndroidStudioProjects\xxxxx_Android\xxxxx\assets中即可
或者删除Flutter项目的build重新构建
Flutter混合开发 升级Flutter SDK后原生项目点击Flutter相关白屏
最新推荐文章于 2020-09-27 19:47:12 发布