Created
January 3, 2021 15:34
-
-
Save anoochit/5f960c7f6445e4ca4e0be4b6ec4e7224 to your computer and use it in GitHub Desktop.
flutter raspberry pi build release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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