HAXM on OS X keeps on disappearing

前端 未结 1 511
情书的邮戳
情书的邮戳 2020-12-30 15:39

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 res

相关标签:
1条回答
  • 2020-12-30 15:53

    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:

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

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

    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:

    • 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
    0 讨论(0)
提交回复
热议问题