eclipse 未能创建上下文 0x3005
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15314629/
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
Failed to create Context 0x3005
提问by Shiva
I have windows 8, Eclipse IDE for Java Developers (JUNO ) for Windows 32 bit, and the updated and installed Android SDK 4.1.2 for windows.
我有 Windows 8、适用于 Windows 32 位的 Java 开发人员的 Eclipse IDE (JUNO),以及适用于 Windows 的更新和安装的 Android SDK 4.1.2。
I've unzipped the Android SDK for Windows, opened the SDK manager and installed:
我已经解压了适用于 Windows 的 Android SDK,打开了 SDK 管理器并安装了:
Android SDK tool.
Android SDK platform tools
Android 4.1.2 (API 16) - all the folder
All the Extra folder.
After that I've opened the AVD manager and created a new AVD with the Google API 16 on with Nexus 7 (I've tried all of them ). When i am trying to run an app, am getting the following error:
之后,我打开了 AVD 管理器并使用 Nexus 7 上的 Google API 16 创建了一个新的 AVD(我已经尝试了所有这些)。当我尝试运行应用程序时,出现以下错误:
*
*
> Failed to create Context 0x3005 emulator:
> WARNING: Could not initialize OpenglES emulation, using software renderer.
> could not get wglGetExtensionsStringARB
> could not get wglGetExtensionsStringARB
> could not get wglGetExtensionsStringARB
> could not get wglGetExtensionsStringARB
> could not get wglGetExtensionsStringARB
*
*
I have tried all answers. Unfortunately, nothing works for me. Any help will be greatly appreciated. Thanks.
我已经尝试了所有的答案。不幸的是,没有什么对我有用。任何帮助将不胜感激。谢谢。
回答by rmn.nish
Just go to AVD manager, Select created AVD & then Edit. Check the box Use Host GPU.. It worked for me.
只需转到 AVD 管理器,选择创建的 AVD,然后选择编辑。选中使用主机 GPU 框。它对我有用。
回答by Anup Halarnkar
- Install JDK that supports the Android SDK. JRE alone is not sufficient! It worked for me. After installing JDK, close Eclipse and open the project again.
- If this still does not work, check the path variable for Java
- 安装支持Android SDK 的JDK。仅有 JRE 是不够的!它对我有用。安装JDK后,关闭Eclipse并再次打开项目。
- 如果这仍然不起作用,请检查 Java 的路径变量