Android Flutter Notes

Currently running flutter in ubuntu 20.04.

Flutter cli doc: https://flutter.dev/docs/reference/flutter-cli

Flutter pub doc: https://dart.dev/tools/pub/cmd

KVM installation: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
Old info: sudo apt install qemu qemu-kvm virt-manager (Remember to enable VT Virtualization in the Bios) - run: sudo kvm-ok (to check)

sudo systemctl is-active libvirtd (check if virtualization works).

(source: https://linuxize.com/post/how-to-install-kvm-on-ubuntu-20-04/)

Kill dart if it is locked (lock file): killall -9 dart

If something hangs try to run: flutter run -v

Clean flutter: flutter clean

Build release: flutter build apk --split-per-abi --split-debug-info=/folder

Build release with obfuscate: flutter build apk --split-per-abi --obfuscate --split-debug-info=/folder

Tutorials

https://medium.com/@gilesjeremydev/create-a-virtual-joystick-for-flame-…

Last modified
2020-12-15