I have Android Studio setup and can run the following command to run it in headless mode (so the window is not showing), but I would like to run it headlessly and have it run an apk. How would I go about doing this?
I currently run the following to load my AVD:
emulator -avd NexusAVD -no-audio -no-window