簡體   English   中英

如何啟用 Windows UWP 進行顫振?

[英]How to enable Windows UWP for flutter?

我關注了https://medium.com/flutter-community/publishing-flutter-windows-apps-to-microsoft-partner-center-with-codemagic-b1962575510c但頻道 dev 和 beta 沒有啟用 uwp 的選項:

Flutter 3.1.0-9.0.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision f28e570c8c (5 weeks ago) • 2022-06-14 13:39:33 -0500
Engine • revision 74ee6b5afd
Tools • Dart 2.18.0 (build 2.18.0-165.1.beta) • DevTools 2.14.0
PS C:\Users\lz> flutter config --enable-windows-uwp-desktop
Could not find an option named "enable-windows-uwp-desktop".


 Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options.

channel dev (已棄用)也給出了相同的錯誤。

在穩定時,它有選項:

[✓] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19044.1288], locale en-GB)

PS C:\Users\me> flutter config --enable-windows-uwp-desktop

Setting "enable-windows-uwp-desktop" value to "true".

You may need to restart any open editors for them to read new settings.

但是,當我執行flutter create myapp時,它只有一個 windows 文件夾(win32),而不是應有的 winuwp。

我在 Windows 10 上,安裝了全新的 Flutter 和 Visual Studio SDK,並安裝了 Windows 10 SDK C++。

由於微軟正在逐步淘汰 UWP,Flutter 團隊將重點放在 Win32 方面,而不是限制范圍。 此處完全刪除了對 UWP 的支持。

在此處查看主要問題: https ://github.com/flutter/flutter/issues/14967#issuecomment-1085490495

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM