gpt4 book ai didi

Android 模拟器创建上下文失败 0x3005

转载 作者:太空狗 更新时间:2023-10-29 12:44:39 25 4
gpt4 key购买 nike

我是 Android 开发的新手,我正在尝试在 Android 中做一个小任务(注册表)。但是,我收到以下错误:

[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] could not get wglGetExtensionsStringARB
[2013-12-05 11:06:26 - Emulator] Failed to create Context 0x3005

我为 Android 4.4 API 级别 19 增加了 RAM 大小 768(之前为 512),但我得到了
创建上下文失败 0x3005[2013-12-05 13:55:54 - 模拟器] 模拟器:警告:无法使用软件渲染器初始化 OpenglES 模拟。 wglGetExtensionsStringARB[2013-12-05 13:55:55 - 模拟器] 分配内存失败:1455 –

那么运行android应用程序大约需要多少内存?

现在我得到这样的错误,

[2013-12-05 17:36:00 - Helloworld] New emulator found: emulator-5554 [2013-12-05 17:36:00 - Helloworld] Waiting for HOME ('android.process.acore') to be launched... [2013-12-05 17:40:41 - Helloworld] HOME is up on device 'emulator-5554' [2013-12-05 17:40:41 - Helloworld] Uploading Helloworld.apk onto device 'emulator-5554' [2013-12-05 17:40:42 - Helloworld] Installing Helloworld.apk... [2013-12-05 17:42:56 - Helloworld] Failed to install Helloworld.apk on device 'emulator-5554! [2013-12-05 17:42:56 - Helloworld] (null) [2013-12-05 17:42:57 - Helloworld] Launch canceled!

最佳答案

按照这些步骤,看看它是否有效。

  • 转到 AVD 管理器
  • 选择设备
  • 点击“编辑”并取消选中“已启用”复选框

如果这不起作用,请尝试增加模拟器的 RAM

你可以增加模拟器的内存,如下所示

Eclipse->Window->Android Virtual Device Manager->From the list of emulator, choose your emulator->Click on Edit->And Check Memory Option-> here Increase your Emulator RAM Size

完成后重启你的模拟器

关于Android 模拟器创建上下文失败 0x3005,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20392582/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com