由于编译期间构建 appbundle 停止,我无法升级我的应用程序,并且出现此错误:
Running Gradle task 'bundleRelease'...
../../third_party/dart/runtime/vm/zone.cc: 94: error: Out of memory.
Dart snapshot generator failed with exit code -1073740791
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\utilisateur\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Users\utilisateur\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
我试图重新启动 PC,flutter clean,删除 android studio 的无效缓存
没有解决方案..