วันจันทร์ที่ 17 พฤศจิกายน พ.ศ. 2557

วิธีติดตั้ง Hardware Accelerated Execution Manager ใน Android Emulator

เมื่อเข้า Android virtual Device Manager แล้วรัน Emulator ไม่ได้ และมีการแจ้งข้อความเช่นนี้
Starting emulator for AVD 'Nexus_5_API_21'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
เราต้องไปลง  Hardware Accelerated Execution Manager [HAXM] ก่อน

วิธีการติดตั้ง

ไปที่ Android SDK Manager แล้วดาวโหลด Intel x86 Emulator Accelerator (HAXM installer)

เมื่อดาวโหลดมาแล้ว เครื่องจะไม่ติดตั้งให้อัตโนมัติ ต้องเข้าไปติดตั้งเอง ที่
 C:\Folder ของ SDK\sdk\extras\intel\Hardware_Accelerated_Execution_Manager




วิธีการติดตั้ง และตรวจสอบว่าลงเสร็จสิ้นแล้ว เข้าไปดูได้ที่เว็บนี้ : https://developer.tizen.org/downloads/sdk/installing-sdk/hardware-accelerated-execution-manager

------------------------------------------------------------------

ถ้า Install แล้วขึ้นข้อความ Error อย่างนี้


 แสดงความเครื่องเรายังไม่ได้เปิด Virtualization Technology

แก้ไขได้ตามนี้
http://hyper-vandvmware.blogspot.de/2012/10/runing-both-hyper-v-and-vm-ware.html
http://stackoverflow.com/questions/16091677/intel-haxm-installation-error-this-computer-does-not-support-intel-virtualizat
http://stackoverflow.com/questions/10761696/running-the-new-intel-emulator-for-android