Skip to content

Instantly share code, notes, and snippets.

@anoochit

anoochit/step.txt

Created Jan 3, 2021
Embed
What would you like to do?
flutter raspberry pi build release
STEP 1
------
fultter build bundle
STEP 2
-------
d:\bin\flutter\bin\cache\dart-sdk\bin\dart.exe d:\bin\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root d:\bin\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product --target=flutter --aot --tfa --packages .packages --output-dill build\kernel_snapshot.dill --verbose --depfile build\kernel_snapshot.d package:crocco_dashpi/main.dart
STEP 3
------
gen_snapshot_linux_x64 --causal_async_stacks --deterministic --snapshot_kind=app-aot-elf --elf=build/flutter_assets/app.so --strip --sim_use_hardfp --no-use-integer-division build/kernel_snapshot.dill
STEP 4
------
scp -r .\build\flutter_assets pi@raspberrypi.local:~/
STEP 5
------
flutter-pi --release flutter_assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment