Tns run android --emulator --geny="DefaultAVDAPI26" doens't work on MacOs


#1

Hi all,

I try to get the following running on Mac Os but it doesn’t work:

tns run android --emulator --geny=“DefaultAVDAPI26”

This gives me:
Starting Android emulator with image DefaultAVDAPI26
Error: spawn player ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

When I start the emulator first, this works.

Btw. I have a VD with this name and I have added /Applications/Genymotion.app to my Path variable.

Any ideas on how I can make this work without having to start the VD before?