2018-04-23 mac android studio 模拟
2018-04-23 本文已影响1036人
stonehiy
下午10:25 Emulator: Failed to create vm ffffffff
下午10:25 Emulator: Failed to create HAX VM
下午10:25 Emulator: No accelerator found.
下午10:25 Emulator: failed to initialize HAX: Invalid argument
下午10:25 Emulator: Process finished with exit code 0
解决方案
For those who installed Android Studio without HAXM built in. You need to install HAXM **manually** after you install it from sdk manager(actually the SDK manager just downloaded it).
Quote from here: [https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x](https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x) `The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to finish installation.`
So here is what you need to do:
* Download HAXM installer from `SDK Manager->Android SDK->SDK Tools->HAXM installer`
* Open `<SDK_SRC>/extras/intel/Hardware_Accelerated_Execution_Manager/` and click the .dmg file to start install.
After installed manually, it's better to restart your PC.