[英]How to publish a Flutter app, created in Android Studio, in the Apple app store
[英]How to publish Flutter app on Microsoft Store?
我已經為 Windows 構建了應用程序。 它以桌面模式運行。
我開通了微軟開發者賬號。
如何將 Flutter 應用程序(Windows 版本)發布到 Microsoft Store? 從 AndroidStudioProjects 上傳到 Microsoft 合作伙伴中心的文件是什么(或如何構建它)?
非常感謝!
問題是您無法將 .exe 文件上傳到您需要的 Windows 應用商店,例如 .xsix 文件。 要構建 .xsix 文件非常簡單:
您使用 Flutter for Windows 構建您的應用程序,在此步驟之后,您可以使用xsix包為 Windows 應用商店構建 xsix 文件。 您可以在此處找到該軟件包的文檔: https : //pub.dev/documentation/msix/latest/
將此包添加到 dev_dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
msix: ^2.1.1
然后使用這些注釋:
flutter clean
flutter build windows
flutter pub run msix:create --store
完成此步驟后,您將獲得用於上傳到 Windows 應用商店的 msix 文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.