gpt4 book ai didi

windows - 如何构建 Windows 应用程序的发布版本?

转载 作者:行者123 更新时间:2023-12-03 04:35:10 24 4
gpt4 key购买 nike

How to build release version of windows app in flutter and where to find the build file ?


实际上我已经使用 flutter build windows 构建了 Windows 应用程序。但无法找到可以安装到其他桌面并可以进一步使用的文件。
flutter 医生输出:-
H:\window app flutter\windowsapp>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.22.0-2.0.pre.36, on Microsoft Windows [Version 10.0.18363.1082], locale en-IN)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.5)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.50.0)
[√] Connected device (4 available)

• No issues found!
请帮忙🙂

最佳答案

欲了解更多详情,请访问 https://flutter.dev/desktop

  • 可执行文件可以在您的项目中找到
    build\windows\runner<构建模式>。除了那个可执行文件,
    您需要以下内容:

  • 来自同一目录:
    所有 .dll 文件
    数据目录
    Visual C++ 可再发行版
    您可以使用 Microsoft 站点上的部署示例演练中显示的任何方法。
    如果使用 application-local 选项,则需要复制:
    msvcp140.dll
    vcruntime140.dll
    vcruntime140_1.dll
    将 DLL 文件放在可执行文件和其他 DLL 旁边的目录中,并将它们捆绑在一个 zip 文件中。

    关于windows - 如何构建 Windows 应用程序的发布版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64291336/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com