"Genymotion is not configured properly."
"Genymotion is not configured properly."
我正在尝试使用 Geny 模拟 nativescript android 应用程序,但遇到以下问题:
Genymotion is not configured properly. Make sure you have added its installation directory to your PATH environment variable.
然而,当 运行 "which" 来自 cli 时,我得到以下信息:
> which genymotion
/Applications/Genymotion.app/Contents/MacOS//genymotion
> which genyshell
/Applications/Genymotion Shell.app/Contents/MacOS//genyshell
我的完整路径如下所示:
/usr/local/opt/android-sdk/tools:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/gradle-2.10/bin:/Applications/Genymotion Shell.app/Contents/MacOS/:/Applications/Genymotion.app/Contents/MacOS/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
此外,我没有问题 运行 来自 GUI 的 genymotion。
根据您安装的 GenyMotion 版本(您的问题中缺少信息),geny player w/v 2.6 从二进制文件更改为 .app 包。
实际的播放器二进制文件现在更深几层,在 /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS
参考http://docs.telerik.com/platform/appbuilder/nativescript/running-your-app/run-app-native-emulator。
您在 PATH 中遗漏了一个反斜杠 - 它应该是这样的:
/Applications/Genymotion\ Shell.app/Contents/MacOS/
我正在尝试使用 Geny 模拟 nativescript android 应用程序,但遇到以下问题:
Genymotion is not configured properly. Make sure you have added its installation directory to your PATH environment variable.
然而,当 运行 "which" 来自 cli 时,我得到以下信息:
> which genymotion
/Applications/Genymotion.app/Contents/MacOS//genymotion
> which genyshell
/Applications/Genymotion Shell.app/Contents/MacOS//genyshell
我的完整路径如下所示:
/usr/local/opt/android-sdk/tools:/usr/local/opt/android-sdk/platform-tools:/usr/local/opt/gradle-2.10/bin:/Applications/Genymotion Shell.app/Contents/MacOS/:/Applications/Genymotion.app/Contents/MacOS/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
此外,我没有问题 运行 来自 GUI 的 genymotion。
根据您安装的 GenyMotion 版本(您的问题中缺少信息),geny player w/v 2.6 从二进制文件更改为 .app 包。
实际的播放器二进制文件现在更深几层,在 /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS
参考http://docs.telerik.com/platform/appbuilder/nativescript/running-your-app/run-app-native-emulator。
您在 PATH 中遗漏了一个反斜杠 - 它应该是这样的:
/Applications/Genymotion\ Shell.app/Contents/MacOS/