Android 模拟器:无法获取 wglGetExtensionsStringARB

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22348905/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 05:51:50  来源:igfitidea点击:

Android Emulator: could not get wglGetExtensionsStringARB

androidandroid-emulatoremulationandroid-4.4-kitkat

提问by CihatGokce

I am getting this error in the android emulator logs since I updated the SDKManager and ADT: [2014-03-12 12:30:05 - Emulator]could not get wglGetExtensionsStringARBWhat does it mean? And is there anything I can do about it?

我在 android 模拟器日志中收到此错误,因为我更新了 SDKManager 并且ADT: [2014-03-12 12:30:05 - Emulator]无法获取wglGetExtensionsStringARB这是什么意思?我能做些什么吗?

回答by A.Aleem11

I found some people suggest to ignore this error, this is a good option only when your emulator initiating but in my case I ignore this error and my emulator was being start but after that my app didn't appear in that emulator. Then I realized this non-appearance could be because of any incorrect coding in my source file so I create another hello world project which was appearing fine in emulator then I compare my main manifest.xml file with the manifest.xml file of my hello world project. I've some unneccessary or probably miss codes exist in main manifest.file I replace them with my hello world manifest file via copy pasting. Finally all working for me. If you're app still not appearing then try to find your app name in manage file tab of emulator (manage app tab could be appear when pressing menu button at the home screen) if your app name exist there, it means you need to refresh or relode your emulator to make it appear.

我发现有些人建议忽略此错误,仅当您的模拟器启动时这是一个不错的选择,但在我的情况下,我忽略此错误并且我的模拟器正在启动,但之后我的应用程序没有出现在该模拟器中。然后我意识到这种不出现可能是因为我的源文件中的任何不正确的编码,所以我创建了另一个在模拟器中显示良好的 hello world 项目,然后我将我的主 manifest.xml 文件与我的 hello world 的 manifest.xml 文件进行比较项目。我在主 manifest.file 中存在一些不必要的或可能遗漏的代码,我通过复制粘贴将它们替换为我的 hello world 清单文件。最后一切都为我工作。如果你'

Thank hopefully it would be hopeful for someone.

谢谢,希望这对某人充满希望。

回答by Piyush

That's means that,

也就是说,

When you create the emulator, you need to choose properties CPU/ABI is Intel Atom (Which will be installed it in SDK manager)

创建模拟器时,需要选择属性 CPU/ABI 是 Intel Atom(将在 SDK 管理器中安装它)

OR

或者

You have unchecked the Checkbox

您已取消选中复选框

Go to AVD Manager -> Select the device -> Click Edit 

and Uncheck the Enabled checkbox.

并取消选中启用复选框。

回答by Devrath

In the Emulation options -> Check Use Host GPUand restart the emulator

在 Emulation options -> 中Check Use Host GPU重启模拟器

enter image description here

在此处输入图片说明