概述

#

Flutter Windows 應用程式的已構建可執行檔案現在位於依賴於體系結構的資料夾中。

背景

#

為了支援 Windows on Arm64,Windows 構建路徑已更新,以新增構建的目標體系結構。

以前,Flutter for Windows 的構建假定目標體系結構為 x64。

遷移指南

#

您可能需要更新您的基礎架構以使用新的 Flutter Windows 構建路徑。

遷移前的示例構建路徑

build\windows\runner\Release\hello_world.exe

遷移後(目標為 x64)的示例構建路徑

build\windows\x64\runner\Release\hello_world.exe

遷移後(目標為 Arm64)的示例構建路徑

build\windows\arm64\runner\Release\hello_world.exe

如果您使用 package:msix,請更新到 3.16.7 或更高版本。

時間線

#

已合併到版本:3.15.0-0.0.pre
穩定版本:3.16

參考資料

#

設計文件

相關拉取請求