HAXM在OS X上不断消失 [英] HAXM on OS X keeps on disappearing

查看:452
本文介绍了HAXM在OS X上不断消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近提出在OS X上我的Andr​​oid开发环境,使用埃尔卡皮坦。一切都按预期工作。我觉得唯一的问题是,每次当我重新启动我的电脑上HAXM会从/ dev的'消失和Android Studio报表它在使用HAXM开始的仿真器。

I have recently moved my android development environment on OS X, using El Capitan. Everything is working as expected. The only problem i find is that after every time I restart my PC the HAXM gets disappeared from '/dev' and Android Studio Reports it while starting an emulator using the HAXM.

当我去到的Andr​​oid SDK文件夹演员,并尝试安装,它说,同样是已经安装了,如果继续下去,它会被重新安装。我继续安装。在之后的每一件事工作正常,直到系统下次重新启动。

When I go to extras in Android SDK folder and try to install, it says that the same is already installed and if continue, it will be reinstalled. I continue to install. After which every thing works fine, till next reboot of the system.

谁能告诉我,怎么解决这个问题。这不是一个很大的任务,重新安装HAXM,但它实在是烦人。

Can anyone please tell me, how to resolve the issue. It is not a big task to reinstall HAXM, but it is really annoying.

推荐答案

想通这一个:从HAXM 1.1.4在埃尔卡皮坦升级到1.1.5时,安装路径从移动/系统/库 /库。然而,到了HAXM安装程序附带的就地升级脚本并不完美的解决这个问题,这让事情在一个时髦的状态。正是出于这个原因,HAXM页说:

Figured this one out: when upgrading from HAXM 1.1.4 to 1.1.5 on El Capitan, the installation path moves from /System/Library to /Library. However, the in-place upgrade script shipped by the HAXM installer doesn't handle this perfectly, which leaves things in a funky state. It is for this reason that the HAXM page says:

安装HAXM 1.1.5之前,previous版本(1.1.4及以下)必须使用卸载:

Before installing HAXM 1.1.5, the previous version (1.1.4 and below) must be uninstalled using:

须藤/System/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh

sudo /System/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh

如果您的安装已经破裂,因为你没有安装1.1.5之前卸载1.1.4,以下步骤为我工作:

If your installation is already broken because you didn't uninstall 1.1.4 before installing 1.1.5, the following steps worked for me:


  • 卸载1.1.5通过运行其新的路径 /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh 须藤

  • 删除遗留1.1.4文件(尤其是对我来说,关键是要删除 /System/Library/LaunchDaemons/com.intel.haxm.plist 虽然有可能更文件遗留在 /系统/库其他人)

  • 重新安装1.1.5正常方式

  • Uninstall 1.1.5 from its new path by running /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh with sudo
  • Remove left-over 1.1.4 files (specifically for me the key was to remove /System/Library/LaunchDaemons/com.intel.haxm.plist although there may be more files left over in /System/Library for other people)
  • Reinstall 1.1.5 the normal way

这篇关于HAXM在OS X上不断消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆