I want to install chrome and youtube apk as headless android emulator on ubuntu. Also want to run apk in headless mode.
Is it possible? anbox have gui, i wanting headless.
I want to install chrome and youtube apk as headless android emulator on ubuntu. Also want to run apk in headless mode.
Is it possible? anbox have gui, i wanting headless.
To run Android emulator in headless mode you have to use the -no-audio and -no-window flags.
Example:
~/Android/Sdk/emulator/emulator -avd Pixel_2_API_30 -no-audio -no-window
To install an application you can use adb install appname.apk.
To open an activity use adb shell am start. There are already some answers about that both for Chrome and YouTube.