Skip to content

androidSdk/bin/emulator support#523

Draft
kolchurinvv wants to merge 2 commits intonvim-flutter:mainfrom
kolchurinvv:dev
Draft

androidSdk/bin/emulator support#523
kolchurinvv wants to merge 2 commits intonvim-flutter:mainfrom
kolchurinvv:dev

Conversation

@kolchurinvv
Copy link
Copy Markdown

@kolchurinvv kolchurinvv commented Apr 23, 2026

The WHY

For whatever reason my NixOS + nix develop shell which encapsulates my flutter project doesn't want to load qemu aka emulators into the Nvidia VRAM when launched via flutter emualtor --launch emulator_id, but the emulator @emulator_id -gpu host -accel on works like a charm.

The intention of the Draft PR is to gauge whether this affects other people and could be useful to a wider audience 😄
There could be potential to capture user input to extend the launch options with the ones listed inemulator --help

This adds a rudimentary support for **/*/androidSdk/bin/emulator binary.

  • -gpu host, -accel on and others - currently hard-coded what i needed.
  • creates another FlutterEmulatorsAvds list command which relies on emulator binary
  • launches the emulators from the list via the emulator @emulator_id .. args

known issues:

  • when emulator binary is used to launch the emulators, on closing the emulator, the entire log is pushed to the Notifications. I'm not sure what would be the best way to handle this
  • this will probably break on MacOS - haven't tested it there (i do have a mac so i will be able to test there soon)
  • no idea whether it'll work on Windows - can't test with that

@kolchurinvv kolchurinvv changed the title Emulator binary support androidSdk/bin/emulator support Apr 23, 2026
@kolchurinvv
Copy link
Copy Markdown
Author

@sidlatau sorry for the direct '@' -- only want to make sure this has been noticed :) would love to hear thoughts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant