当前位置:操作系统 > 安卓/Android >>

解决android模拟器 Failed to create Context 0x3005 Could not initialize OpenglES emulation...

eclipse、sdk、adt都更新到最新版本,在家使用的时候一切正常,但是copy到公司运行模拟器的时候就出错了!大概错误信息如下:

Failed to create Context 0x3005
emulator: WARNING:Could not initialize OpenglES emulation, using software renderer............................


纠结了好半天,试了好多办法也都不好使,最好在google code的一个论坛找到了一个解决方法:

I ran into this yesterday. Make sure your graphics card driver is up to date.
1. Installed the Andoird Bundle.
2. Created an AVD.
3. Clicked the start button and the emulator does not open.
4. No error messages are reported as the "Starting Android Emulator" dialogue times out.
We tried running the emulator.exe from the command line (emulator -avd <name>) and noticed that Open GL was erroring out. But interestingly the emulator-x86 -avd <name> would actually work and fire up the emulator.
We then tried, as noted above, to move the four DLLs from the /tools/lib directory to the /tools directory. Even more interestingly after we did that the emulator-x86 stopped working and begin pitching a fit about the Open GLes.
So we downloaded the newest graphics driver, left the dlls in the /tool directory and finally the emulator would fire up from Eclipse (as well as the command line).
Hope this helps you.

重点就在于newest graphics driver,最新显卡驱动,所以安装了一个驱动精灵检查了下,发现显卡驱动是2008年的版本,果断升级到最新版本,然后重启机器,Back in business.

 

补充:移动开发 , Android ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,