andry
andry
> Very, very awesome btw! I also looked into this and wanted to be able to run the existing pio programs, so I wanted to create a pioasm template for...
same issue with build with docker image on Mac with M1 processor
https://storage.googleapis.com/flutter_infra_release/flutter/a6bd3f1de158bb61090e0c8053df93a10cb548e1/linux-arm64/artifacts.zip downloaded by flutter sdk include frontend_server_aot.dart.snapshot for x86-64
this happened on arm64 host with arm64 target
its not flutter-engine issue, but flutter-sdk. error occur on build examples apps, flutter-sdk download [artifacts.zip](https://storage.googleapis.com/flutter_infra_release/flutter/a6bd3f1de158bb61090e0c8053df93a10cb548e1/linux-arm64/artifacts.zip) from google and it is wrong, need use self builded artefacts from flutter-engine: add --build-engine-artifacts...
Temporary solution use frontend_server.dart.snapshot from dart-sdk, it is for correct architecture `frontend_snapshot = f'{flutter_sdk}/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot'`