Android模拟器无法创建上下文0x3005 [英] Android Emulator Failed to create Context 0x3005

查看:145
本文介绍了Android模拟器无法创建上下文0x3005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是全新的Andr​​oid开发,我试图做在Android中一个小任务(报名表)。不过,我收到以下错误:

  [2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法获得wglGetExtensionsStringARB
[2013年12月5日11时06分26秒 - 模拟器]无法创建上下文0x3005

我增加RAM大小768(previously 512)为Android 4.4 API级别19,但我正在逐渐结果
无法创建上下文0x3005
[2013年12月5日13点55分54秒 - 模拟器]仿真器:警告:无法初始化OpenglES仿真,使用软件渲染器。 wglGetExtensionsStringARB
[2013年12月5日13时55分55秒 - 模拟器]无法分配内存1455 -

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

现在我得到的错误是这样,


  

[2013年12月5日17时36分○○秒 - 的Helloworld]研究发现新的模拟器:模拟器-5554
  [2013年12月5日十七时36分00秒 - 的Helloworld]等待HOME
  (android.process.acore')将推出... [2013年12月5日十七时40分41秒 -
  的HelloWorld] HOME高达设备'模拟器-5554[2013年12月5日17点40分四十一秒
   - 的Helloworld]上传Helloworld.apk到设备'模拟器-5554[2013年12月5日17时40分42秒 - 的Helloworld]安装Helloworld.apk ...
  [2013年12月5日17时42分56秒 - 的Helloworld]未能上安装Helloworld.apk
  设备'模拟器 - 5554! [2013年12月5日17时42分56秒 - 的Helloworld](空)
  ![2013年12月5日17时42分57秒 - 的Helloworld]启动取消



解决方案

请按照下列步骤操作,看看它的工作。


  • 转到AVD管理器

  • 选择设备

  • 单击编辑并取消启用复选框

如果这个不行不是试图增加模拟器的RAM

您可以增加模拟器的RAM如下

  Eclipse的>&窗口 -  GT; Android虚拟设备管理器 - 肽从仿真器的列表中,选择您的emulator->点击编辑 - 上>和检查内存选项 - >这里增加您的模拟器RAM大小

这样做重新启动模拟器后

I am entirely new to Android development, and I am trying to do a small task in Android (a registration form). However, I am getting the following error:

[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

I Increased RAM size 768(previously 512)for Android 4.4 API level 19, but I am getting
Failed to create Context 0x3005 [2013-12-05 13:55:54 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. wglGetExtensionsStringARB [2013-12-05 13:55:55 - Emulator] Failed to allocate memory: 1455 –

So approximately how much memory is needed to run the android application?

Now i am getting error like this,

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

解决方案

Follow these steps and see if its working.

  • Go to AVD Manager
  • Select the device
  • click Edit and uncheck the Enabled checkbox

If this not work than try to increase RAM of your emulator

you can Increase RAM of emulator as below

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

After Doing this restart your emulator

这篇关于Android模拟器无法创建上下文0x3005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆