go-flutter: Bug: Cross-Compile corrupts other builds

@jld3103

When I build one platform, the other folders gets updated and corrupted. Not sure whats happening but on ubuntu platfrom.

[ERROR:flutter/shell/platform/embedder/embedder.cc(629)] 
Not running in AOT mode but could not resolve the kernel binary.
[ERROR:flutter/shell/platform/embedder/embedder.cc(53)]
Returning error 'kInvalidArguments' (2) from Flutter Embedder API call 
to 'FlutterEngineRun'. 
Origin: ../../flutter/shell/platform/embedder/embedder.cc:631
go-flutter: engine.Run() returned result code 2 (invalid arguments)

Let me know if you guys can reproduce this?

Flutter version

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, v1.10.7-pre.70, on Linux, locale en_US.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Chrome - develop for the web [✓] Linux toolchain - develop for Linux desktop [✓] Android Studio (version 3.5) [✓] Android Studio (version 3.4) [✓] VS Code (version 1.36.0) [✓] Connected device (3 available)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (18 by maintainers)

Most upvoted comments

Fixed by the flutter team: xref: https://github.com/flutter/flutter/issues/41861

I’ll comment on that issue commands that reproduce the “could not resolve the kernel binary” error. It’ might be related to the same commit, we’ll see.


edit: https://github.com/flutter/flutter/issues/41352#issuecomment-537709454


edit2: moved into it’s own issue: https://github.com/flutter/flutter/issues/41861

The problem seems that all files in flutter_assets are deleted. The folders remain