问题
After updated my Mac to OS X El Capitan 10.11.1 I couldn't create new virtual devices in Android Studio
From now, when I create a New Virtual Device and run my application I have the following message:
> emulator: The memory needed by this AVD exceeds the max specified in
> your HAXM configuration. HAXM is not working and emulator runs in
> emulation mode emulator: AVD RAM size = 1024 MB emulator: HAXM
> max RAM size = 512 MB emulator: You might want to adjust your AVD RAM
> size and/or HAXM configuration to run in fast virt mode. emulator:
> emulator window was out of view and was recentered emulator:
> UpdateChecker: skipped version check
I followed this answer to resolve the problem but when I try to installing it again I have the following message:
HAXM silent installation only support mac OS X from 10.8 to 10.10 !
So, What is the proper way to install the HAXM kernel extension on 10.11 El Capitan?
回答1:
I have the same problem and it had resolved by manually install HAXM latest version for Mac OS 10.11.
- Download haxm-macosx_r05.zip (1.1.5) from https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager/
- Run "HAXM installation" file from terminal.
I hope it helpful.
回答2:
If you have Homebrew installed, you can do it like this:
brew install caskroom/cask/intel-haxm
Here's the formulae, it currently points to version 7.2.0: https://github.com/caskroom/homebrew-cask/blob/14a0a23ae84df4e3d8a4be60b19e8ddb269415ec/Casks/intel-haxm.rb
来源:https://stackoverflow.com/questions/32924736/how-to-fix-haxm-silent-installation-only-support-mac-os-x-from-10-8-to-10-10