windows - 使用颤振构建的 Windows 应用程序无法在每台 Windows 机器上运行
问题描述
我正在尝试使用颤振构建 Windows 应用程序。成功构建后,我按照说明添加了msvcp140.dll、vcruntime140.dll、vcruntime140_1.dll。但仍然在某些 Windows 10 和所有 Windows 7 机器上它正在崩溃。有什么建议该怎么做吗?
我的发布树如下所示: build -> windows -> runner -> release
- 数据(文件夹)
- 插件(文件夹)
- bitsdojo_window_windows_plugin.lib
- 连通性_plus_windows_plugin.dll
- dart_vlc_plugin.dll
- desktop_window_plugin.dll
- flutter_windows.dll
- msvcp140.dll
- vcruntime140.dll
- vcruntime140_1.dll
- libvlc.dll
- libvlccore.dll
- 应用程序.exe
- psg.exp
- psg.lib
- webview_windows_plugin.dll
- WebView2Loader.dll
解决方案
bitsdojo_window
不支持 Flutter 支持的所有 Windows 版本。它无条件地链接到仅存在于较新版本的 Windows 10 中的 API。
推荐阅读
- node.js - Sequelize 4.42.0:设置实例方法返回“不是函数”错误
- python - 由于 for 循环,打印功能失败
- ios - 使用动态单元格的高度重新加载后保持 UICollectionView 位置
- ios - Xcode 10 Alamofire 命令 PhaseScriptExecution 失败,退出代码非零
- android - 如何防止 LTR 布局在某些 Android 设备上被强制 RTL?
- react-native - 如果上一行有足够的空间,则分两行显示文本组件
- jhipster - 如何最小化 jhipster 微服务环境的内存占用?
- firebase - 从firebase中的数组中删除特定的地图/对象
- c# - 两个表 LinqToSql 的链接
- ubuntu - 从挂起 Ubuntu Budgie 18.10 唤醒后黑屏