Error occurred because the current computer and emulator are not connected.

Did you set up the Genymotion as described in the error?

If you hadn’t, go to Settings -> ADB, select “Use custom Android SDK tools” ->

and point it at your Android SDK directory.

/Users/username/Library/Android/sdk

Run emulator, click developer options, enable USB debugging and enable Wi-Fi to Cellular.

Run the Genymotion Shell and type devices list to find the IP address of the device.

Open the terminal and enter adb connect deviceIp:5555. Make sure the connection to adb device is correct. Enter adb usb and adb tcpip 5555.