Flutter 编译颤振桌面时出错[已解决]

Flutter 编译颤振桌面时出错[已解决],flutter,flutter-desktop,Flutter,Flutter Desktop,无法为windows桌面编译我的应用程序 `Microsoft Windows[版本10.0.17134.1246] (c) 2018年微软公司。我们享有服务权 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microso C:\Users\CREATIVE'S DEV\AndroidStudioProjects\flatter\u app>flatter run-d wind

无法为windows桌面编译我的应用程序

`Microsoft Windows[版本10.0.17134.1246] (c) 2018年微软公司。我们享有服务权

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microso
C:\Users\CREATIVE'S DEV\AndroidStudioProjects\flatter\u app>flatter run-d windows 正在调试模式下在Windows上启动lib\main.dart。。。 C:/Program Files(x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Comm中的CMake错误 onExtensions/Microsoft/CMake/CMake/share/CMake-3.17/Modules/CmaketestCxCompiler.CMake:53(me (留言): C++编译器< /P>
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/
bin/Hostx64/x64/cl.exe“

无法编译简单的测试程序

它失败,输出如下:

Change Dir: C:/Users/CREATIVE'S DEV/AndroidStudioProjects/flutter_app/build/windows/CMake
文件/cmakemp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuil
d/Current/Bin/MSBuild.exe cmTC_4a34b.vcxproj/p:Configuration=Debug/p:Platform=x64/p:Visual StudioVersion=16.0/v:m&&Microsoft(R)构建引擎版本16.7.0+b89cb5fde pour.NET Fram 伊沃克 版权所有(C)微软公司。我们拥有服务权

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microso
ft.Common.CurrentVersion.targets(5677,7):错误MSB4023:不可能的d’évaluer la métadonnée d “完整路径”,不可能的“完整路径” n d'accès“@(_-DebugSymbolsIntermediatePath->'C:\Users\CREATIVE's DEV\AndroidStudioProjects\fl utterèu app\build\windows\cmakfiles\cmakemp\Debug%(文件名)%(扩展名)“)”.Caractères non 符合dans le chemin d'accès.[C:\Users\CREATIVE's DEV\AndroidStudioProjects\Flatterèu应用程序
build\windows\cmakfiles\cmakemp\cmTC_4a34b.vcxproj]

CMake将无法正确生成此项目。 调用堆栈(最新调用优先): CMakeLists.txt:2(项目)

正在生成Windows应用程序。。。 异常:无法生成生成文件 `

不符合要求的货物

尝试将项目移动到没有
的路径

不符合要求的货物


尝试将项目移动到一个没有
的路径。

我通过snap安装了颤振解决了这个问题

sudo snap install flutter --classic
那就这么做吧,这很好

sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev

我通过snap安装颤振解决了这个问题

sudo snap install flutter --classic
那就这么做吧,这很好

sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev

我通过删除空间重命名了CREATIVE的开发人员,“我通过删除空间重命名了CREATIVE的开发人员,并”