flutter环境配置大坑

losing connection to iOS device

https://github.com/flutter/flutter/issues/34925


losing connection to iOS device

iOS原生项目接入flutter报错:

Could not build the precompiled application for the device. Error launching

原因是包名和原生包名不一致,导致不知道热重载哪一个。

解决方式:把Runner工程的包名也改为原生的包名,就可以flutter独立调试了。

推荐阅读更多精彩内容