简体   繁体   English

在运行android应用程序时,我在控制台中收到以下错误

[英]while running an android application, i am getting the following error in console

[2013-09-24 01:37:57 - FirstApp] ------------------------------
[2013-09-24 01:37:57 - FirstApp] Android Launch!
[2013-09-24 01:37:57 - FirstApp] adb is running normally.
[2013-09-24 01:37:58 - FirstApp] Performing com.example.firstapp.MainActivity activity launch
[2013-09-24 01:37:58 - FirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_Nexus_4_by_Google'
[2013-09-24 01:37:58 - FirstApp] Launching a new emulator with Virtual Device 'AVD_for_Nexus_4_by_Google'
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] Failed to create Context 0x3005
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] could not get wglGetExtensionsStringARB
[2013-09-24 01:38:07 - Emulator] emulator: Failed to open the HAX device!
[2013-09-24 01:38:07 - Emulator] 
[2013-09-24 01:38:07 - Emulator] emulator: Open HAX device failed
[2013-09-24 01:38:07 - Emulator] 
[2013-09-24 01:38:07 - Emulator] HAX is not working and emulator runs in emulation mode
[2013-09-24 01:38:07 - FirstApp] New emulator found: emulator-5554
[2013-09-24 01:38:07 - FirstApp] Waiting for HOME ('android.process.acore') to be launched...

and below is my AVD configuration 下面是我的AVD配置

Target : Android 4.3 - API Level 18 目标:Android 4.3-API级别18

CPU/ABI: Intel Atom (x86) CPU / ABI:Intel Atom(x86)

RAM : 512 VM Heap : 64 内存:512 VM堆:64

Internal storage : 200MiB 内部存储:200MiB

SD Card : 1000MiB SD卡:1000MiB

i found so many answers, but none helped. 我找到了很多答案,但是都没有帮助。 plz help me with the solution. 请帮我解决。

There is a emulation option (for your emulator) called "USE HOST GPU"... Is it enabled? 有一个针对您的仿真器的仿真选项,称为“ USE HOST GPU”。是否启用? Take a look at it. 看一看。

It seems like your emulator is falling at initializing rendering using your host machine GPU. 看来您的模拟器正在使用主机GPU初始化渲染。 You can uncheck that box if that is the case, and it will use only software rendering. 在这种情况下,您可以取消选中该框,它将仅使用软件渲染。

You can give it a try. 您可以尝试一下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM