Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/233.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在运行android应用程序时,我在控制台中遇到以下错误_Android - Fatal编程技术网

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

在运行android应用程序时,我在控制台中遇到以下错误,android,Android,下面是我的AVD配置 目标:Android 4.3-API级别18 CPU/ABI:Intel Atom(x86) RAM:512虚拟机堆:64 内部存储器:200MB SD卡:1000MB 我找到了这么多答案,但没有一个有用。请帮助我解决这个问题。有一个名为“使用主机GPU”的仿真选项(适用于您的模拟器)。。。它启用了吗?看一看 似乎您的模拟器在使用主机GPU初始化渲染时失败了。如果是这种情况,可以取消选中该框,它将仅使用软件渲染 您可以尝试一下。thanx的回复,但“使用主机GPU”和“快照

下面是我的AVD配置

目标:Android 4.3-API级别18

CPU/ABI:Intel Atom(x86)

RAM:512虚拟机堆:64

内部存储器:200MB

SD卡:1000MB


我找到了这么多答案,但没有一个有用。请帮助我解决这个问题。

有一个名为“使用主机GPU”的仿真选项(适用于您的模拟器)。。。它启用了吗?看一看

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

您可以尝试一下。

thanx的回复,但“使用主机GPU”和“快照”都未选中。
[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...