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).
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
Update android-studio-dir: flutter config android-studio-dir="/opt/android-studio/"
Or maybe just reset the flutter config setting paths: https://stackoverflow.com/questions/62004255/flutter-does-not-working-e…