zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    Non-Photorealistic Rendering using OpenCV ( Python, C++ )
    Tensorflow Eager execution and interface
    Linear and Logistic Regression in TensorFlow
    TensorFlow Ops
    Introduction to TensorFlow
    Java Syntax Specification
    java方法的虚分派和方法表
    λ演算
    活性变量分析
    java垃圾回收机制
  • 原文地址:https://www.cnblogs.com/graceting/p/5034039.html
Copyright © 2011-2022 走看看