Ubuntu Genymotion配置不正确

Ubuntu Genymotion配置不正确,ubuntu,genymotion,linux-mint,nativescript,Ubuntu,Genymotion,Linux Mint,Nativescript,我正在尝试使用genymotion运行nativescript,但总是出现以下错误 有人能帮我吗?我将感激任何帮助 bidder-Lenovo-G500s sample-Tasks # tns emulate android --geny Mobile Genymotion is not configured properly. Make sure you have added its installation directory to your PATH environment variabl

我正在尝试使用genymotion运行nativescript,但总是出现以下错误

有人能帮我吗?我将感激任何帮助

bidder-Lenovo-G500s sample-Tasks # tns emulate android --geny Mobile
Genymotion is not configured properly. Make sure you have added its installation directory to your PATH environment variable.

我想你忘了这一点(我在MacOS上也犯了同样的错误,现在它可以正常工作了)

问题是我试图以root用户身份运行genymotion,我安装了android sdk,而且我只在本地用户上安装了android sdk。但是非常感谢你的帮助!当我使用genymotion时,我只使用一个“tns run android”命令,genymotion仿真器就像一个连接的设备。你试过在genymotion启动的情况下运行tns run android吗?问题是我试图以root用户身份运行genymotion,并且我已经安装了,并且我只在本地用户上安装了android sdk。但是非常感谢你的帮助!