Hi, it seems to me that you need to start the emulator first and then try to run the adb installation command, please check part of the article here:
If you run the emulator, you can install the APK on it with something like the following:
test: override: - adb / to / build.apk installation path
for more details check this
source share