sdv*_*ent 5 desktop android-studio uwp flutter
我已经为 Windows 构建了应用程序。它以桌面模式运行。
我开通了微软开发者账号。
如何将 Flutter 应用程序(Windows 版本)发布到 Microsoft Store?从 AndroidStudioProjects 上传到 Microsoft 合作伙伴中心的文件是什么(或如何构建它)?
非常感谢!
问题是您无法将 .exe 文件上传到您需要的 Windows 应用商店,例如 .xsix 文件。要构建 .xsix 文件非常简单:
您使用 Flutter for Windows 构建应用程序,在此步骤之后,您可以使用xsix包为 Windows 应用商店构建 xsix 文件。您可以在此处找到该包的文档:https://pub.dev/documentation/msix/latest/
将此包添加到 dev_dependency 中:
dev_dependencies:
flutter_test:
sdk: flutter
msix: ^2.1.1
Run Code Online (Sandbox Code Playgroud)
然后使用这些评论:
flutter clean
flutter build windows
flutter pub run msix:create --store
Run Code Online (Sandbox Code Playgroud)
完成此步骤后,您将获得 msix 文件以上传到 Windows 应用商店。
| 归档时间: |
|
| 查看次数: |
379 次 |
| 最近记录: |