could not get wglGetExtensionsStringARB

来源:互联网 发布:软件销售有前途吗 编辑:程序博客网 时间:2024/04/29 15:39

错误信息:

[ - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[ - Emulator] could not get wglGetExtensionsStringARB

wglGetExtensionsStringARB属于OpenGL ES,此错误是由对OpenGL ES的支持不全引起。

The OpenGL ES APIs provided by the Android framework offers a set of tools for displaying high-end, animated graphics that are limited only by your imagination and can also benefit from the acceleration of graphics processing units (GPUs) provided on many Android devices.

简言之,OpenGL ES用于显示以及GPU加速,它也应用于Android emulator中,作为硬件加速的一部分。

现代CPU为提高virtual machines的运行效率提供了一些扩展,Android emulator利用这些扩展加速执行速度,因此对运行系统的CPU有一定要求:

  • Intel Virtualization Technology (VT, VT-x, vmx) extensions
  • AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)

无法支持的机器将无法运行使用这些扩展的emulator。

故而当出现这个error时,需要检查:

  • 机器支持Virrualization Technology
  • VM Acceleration正确配置:
  •      windows下使用Intel Hardware Accelerated Execution Manager (Intel HAXM)作为虚拟驱动,安装方式是:
  1. Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager.
  2. After the download completes, execute <sdk>/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.
  3. Follow the on-screen instructions to complete installation.
0 0
原创粉丝点击