简体   繁体   English

Flutter windows 桌面应用兼容性

[英]Flutter windows desktop application compattibility

Can flutter desktop application run on any windows pc irrespective of its properties. flutter 桌面应用程序能否在任何 windows pc 上运行,而不管其属性如何。 I am trying to run flutter desktop application on x86 windows but it shows error "This application can't run on this pc, check with the software publisher".我试图在 x86 windows 上运行 flutter 桌面应用程序,但它显示错误“此应用程序无法在这台电脑上运行,请与软件发布者联系”。

Can anyone help me how to solve this issue?谁能帮我解决这个问题?

It's possible since v2, but: "Warning: Beta! This page covers desktop support, which is available as a beta release for Windows (Win32), macOS and Linux."从 v2 开始是可能的,但是:“警告:测试版!此页面涵盖桌面支持,可作为 Windows (Win32)、macOS 和 Linux 的测试版提供。”

"For Windows desktop development, you need the following in addition to the Flutter SDK: Visual Studio 2019 (not to be confused with Visual Studio Code). For Win32 you need the 'Desktop development with C++' workload installed, including all of its default components. For UWP you need the 'Universal Windows Platform development' workload installed, with the optional UWP C++ tools." “对于 Windows 桌面开发,除了 Flutter SDK 之外,您还需要以下内容:Visual Studio 2019(不要与 Visual Studio Code 混淆)。对于 Win32,您需要安装‘Desktop development with C++’工作负载,包括其所有默认值组件。对于 UWP,您需要安装‘通用 Windows 平台开发’工作负载,以及可选的 UWP C++ 工具。”

https://flutter.dev/desktop https://flutter.dev/desktop

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

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