构建过程失败,没有对应的应用 windows

Build process failed, no corre app en windows

我有这个错误,当我在 windows

中启动我的应用程序时发生

/C:/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.4/lib/src/io_client.dart(26,30): error G54CF1E69: A non-null value must be returned since the return type 'IOStreamedResponse' doesn't allow null. [C:\wamp64\www\ERP-APP\escamet-erp-app\build\windows\flutter\flutter_assemble.vcxproj] C:\Program Files\Microsoft Visual Studio22\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(245,5): error MSB8066: Compilación personalizada de "C:\wamp64\www\ERP-APP\escamet-erp-app\build\windows\CMakeFiles8a543f16bc6c7257558b1f9fc0e070\flutter_windows.dll.rule;C:\wamp64\www\ERP-APP\escamet-erp-app\build\windows\CMakeFiles[=11=]d0db72735d346d8441f4ddf73f1d93f\flutter_assemble.rule" terminada con el código 1. [C:\wamp64\www\ERP-APP\escamet-erp-app\build\windows\flutter\flutter_assemble.vcxproj] Exception: Build process failed.

好像是http包的错误

尝试以下命令

  1. flutter pub 缓存清理
  2. 颤抖干净
  3. flutter pub 获取
  4. 颤动运行