Mac OS X更新VirtualBox以后Genymotion无法启动的一种情况
2015-07-14 10:49
806 查看
这两天VirtualBox更新到5.0了,于是乎就升级了。结果升级后就中了个大奖,Genymotion起不来了。我用的是Genymotion 2.5,不久前刚升级的,因为官网打不开,不知是不是最新版。难道是VirtualBox 5.0有大改动以至于Genymotion不兼容了?
于是卸载VirtualBox 5.0,装回大版本4里眼下最新的4.3.30,出乎意料的也起不来。既然Genymotion说生成了log,那就看一看吧:
7月 14 09:42:42 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:42 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:43 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:43 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:44 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:44 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:45 [Genymotion] [Error] "Fail to load vboxmanage plugin from /Applications/Genymotion.app/Contents/MacOS/plugins/"
7月 14 09:42:45 [Genymotion] [Error] VM Engine failed to load
7月 14 09:42:45 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.
看起来是说执行VBoxManage失败了,在终端了试了一下VBoxManage list hostinfo,是可以成功执行的。查找了一下VBoxManage的位置,是在/usr/local/bin之下。记得更新之前VirtualBox是4.3.26版,回头对比了一下,当时的VBoxManage是在/usr/bin之下的,难道?不会吧!!!
于是,试着在/usr/bin下建立链接:
结果,搞定!也就是说,更新VirtualBox后Genymotion起不来的真正原因,就是因为新版本中VBoxManage等工具从原来的/usr/bin移动到了/usr/local/bin之下,所以Genymotion找不到了。真是有点奇葩呀。
于是卸载VirtualBox 5.0,装回大版本4里眼下最新的4.3.30,出乎意料的也起不来。既然Genymotion说生成了log,那就看一看吧:
7月 14 09:42:42 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:42 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:43 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:43 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:44 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:44 [Genymotion] [Error] Can't run VBoxManage ("list", "hostinfo")
7月 14 09:42:45 [Genymotion] [Error] "Fail to load vboxmanage plugin from /Applications/Genymotion.app/Contents/MacOS/plugins/"
7月 14 09:42:45 [Genymotion] [Error] VM Engine failed to load
7月 14 09:42:45 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.
看起来是说执行VBoxManage失败了,在终端了试了一下VBoxManage list hostinfo,是可以成功执行的。查找了一下VBoxManage的位置,是在/usr/local/bin之下。记得更新之前VirtualBox是4.3.26版,回头对比了一下,当时的VBoxManage是在/usr/bin之下的,难道?不会吧!!!
于是,试着在/usr/bin下建立链接:
for file in `lsbom -fs /private/var/db/receipts/org.virtualbox.pkg.virtualboxcli.bom` do sudo ln /usr/local/bin/${file:2} /usr/bin/${file:2} done
结果,搞定!也就是说,更新VirtualBox后Genymotion起不来的真正原因,就是因为新版本中VBoxManage等工具从原来的/usr/bin移动到了/usr/local/bin之下,所以Genymotion找不到了。真是有点奇葩呀。
相关文章推荐
- Office2010安装需要MSXML版本6.10.1129.0的方法
- setContentView 设置布局文件时,cannot be resolved or is not a field
- D3+mysql 画Force图
- Ruby下WebDriver的相关操作指南
- notepad++多行标签设置方法
- C#读写txt文件的两种方法介绍
- 找呀志_通过开源框架引AsyncHttpClient上传文件
- 2.创建一个20个大小的随机数组,然后输入一个数,判断是否存在这个数
- 一件程序猿T恤的故事
- arcgis server发布时遇到的问题
- [POJ_1054]LETTERS
- 我所理解的Havok、PhysX
- 寄存器 内存 存储器
- HDU 5282 Senior's String (两次dp LCS预处理)
- GRE写作必备句型
- android textview 实现跑马灯效果
- 1005. Spell It Right (20)
- iOS开发:UITableView加载多张照片导致内存上涨的问题
- 逻辑回归分类器(Logistic Regression Classifier)
- Linux中link,unlink,close,fclose详解