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

时间:2013-09-23 20:23:51

标签: android

[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...

以下是我的AVD配置

目标:Android 4.3 - API级别18

CPU / ABI:Intel Atom(x86)

RAM:512 VM堆:64

内部存储:200MiB

SD卡:1000MiB

我找到了很多答案,但都没有帮助。请帮我解决问题。

1 个答案:

答案 0 :(得分:0)

有一个名为“USE HOST GPU”的仿真选项(用于您的仿真器)...是否已启用?看看吧。

似乎您的模拟器正在使用主机GPU初始化渲染。如果是这种情况,您可以取消选中该框,它将仅使用软件渲染。

你可以尝试一下。