I found the error. The emulator is missing
adb: unable to connect for root: no devices/emulators found
Is USB debugging turned on, see enable usb debugging.