首页 > 解决方案 > 使用颤振构建的 Windows 应用程序无法在每台 Windows 机器上运行

问题描述

我正在尝试使用颤振构建 Windows 应用程序。成功构建后,我按照说明添加了msvcp140.dllvcruntime140.dllvcruntime140_1.dll。但仍然在某些 Windows 10 和所有 Windows 7 机器上它正在崩溃。有什么建议该怎么做吗?

我的发布树如下所示: build -> windows -> runner -> release

  1. 数据(文件夹)
  2. 插件(文件夹)
  3. bitsdojo_window_windows_plugin.lib
  4. 连通性_plus_windows_plugin.dll
  5. dart_vlc_plugin.dll
  6. desktop_window_plugin.dll
  7. flutter_windows.dll
  8. msvcp140.dll
  9. vcruntime140.dll
  10. vcruntime140_1.dll
  11. libvlc.dll
  12. libvlccore.dll
  13. 应用程序.exe
  14. psg.exp
  15. psg.lib
  16. webview_windows_plugin.dll
  17. WebView2Loader.dll

标签: windowsflutterflutter-desktop

解决方案


bitsdojo_window不支持 Flutter 支持的所有 Windows 版本。它无条件地链接到仅存在于较新版本的 Windows 10 中的 API


推荐阅读