Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

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

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…

Tutorials

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

Last modified
2021-07-21

Tags

  • Linux
  • Android
  • programming
  • mobile
  • Log in to post comments

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.