我正在使用Flutter 1.10.15
和Android Studio 3.5.1
来开发Ffltter Web和我的BIG!问题是我不能调试,甚至不能在控制台中打印一些东西,因为当我按下工具栏中的"运行"或"调试"按钮时,chrome
中只显示一个白页.
我可以运行项目的唯一方式是在Web服务器模式下使用以下命令,并在AlertDialog
弹出窗口中显示变量值和异常!
flutter run -d web-server --web-hostname=192.168.50.147 --web-port=5624 --local-engine=host_debug_unopt --profile -v lib\pages\splash.dart
有人能告诉我一个解决方案吗?