could not get wglGetExtensionsStringARB


第一种解释:

现象: 启动应用程序时,在Emulator中,提示“could not get wglGetExtensionsStringARB”。

原因分析: device space不足。

解决办法:

选择AVD-Edit-Device中,选择一个较小的尺寸就可以了。毕竟,我们只是测试而已。

另外,可以将Intener storage, Memory等设置的大一些,应该就可以了。

第二种解释:

分析: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.

转载于:https://www.cnblogs.com/graceting/p/5034039.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值