简体   繁体   English

Flutter - 仿真器无法正常工作

[英]Flutter - The emulator is not working properly

Changing the code and debugging the emulator also applies the previously used code and the emulator works.更改代码和调试模拟器也会应用以前使用的代码,并且模拟器可以正常工作。

I don't know what the problem is, but the updated code doesn't apply to the emulator and the code I used before runs.我不知道问题是什么,但是更新的代码不适用于模拟器和我之前使用的代码运行。

I will be very grateful if you give me an answer or a hint.如果您能给我答案或提示,我将不胜感激。

Try the command flutter clean to remove the existing build output and run your app.尝试命令flutter clean删除现有的构建 output 并运行您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM