flutter-desktop-embedding how to build exe file

柔情痞子 提交于 2020-12-03 07:12:32

问题


in flutter-desktop-embedding , I am a windows environment, I can run it, but I don't know how to build an exe file. I want to know what to do.


回答1:


If you flutter build or flutter run a desktop project, you're already building a .exe; that's what's being launched by flutter run. You can find it in the build directory of the project (e.g., build\windows\x64\Debug\Runner\Flutter Desktop Example.exe for the FDE example app).




回答2:


First check the build options with flutter build -h

Then run flutter build windows

Then you can find the build in the following path \build\windows\x64\Release\Runner

Although it is created in the release folder it is still just a debug build.



来源:https://stackoverflow.com/questions/57032406/flutter-desktop-embedding-how-to-build-exe-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!