2014년 1월 26일 일요일

Android Emulator 속도 높이기

Android Emulator는 극악한 속도를 자랑한다. 좋은 PC는 아니지만 또 그렇게 끔찍한 PC는 아니건만 도저히 개발할 환경이 안되어 찾아보다보니 Intel님의 은혜를 입을 수 있었다.
좋은 PC가 아니라 만족할만한 결과까지는 아니지만 체감 속도가 엄청나게 올라갔다.

1. Android SDK Manager에서 [Intel x86 emulator accelerator (HAXM)] 인스톨


2. Intel® Hardware Accelerated Execution Manager 설치
참고: http://software.intel.com/en-us/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

3. Android Virtual Device Manager에서 Intel Atom (x86) processor를 이용하도록 emulating
 - 이미지 생성시 CPU/ABI 에서 x86 선택
 - Emulation option에서 Use Host GPU 선택
  • Enable the GPU acceleration in the AVD Manager for your image. The HAXM driver executes most CPU instructions natively through Intel Virtualization Technology in the processor and the GPU acceleration offloads the OpenGL* calls to the host GPU.