0

Android Emulator is not launching after version upgrade,getting error message like.

   "Failed to create Context 0x3005
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
    emulator: WARNING: Requested RAM size of 1536MB is too large for your environment, and is reduced to 1152MB.
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    could not get wglGetExtensionsStringARB
    Could not initialize emulated framebufferCannot set up guest memory 'android_arm': Invalid argument"

I edited AVD with low memory devices and I am taking 566 MB of size on disk. Still i cannot resolve the problem.Please help me out of this issue.

Rince Thomas
  • 4,158
  • 5
  • 25
  • 44
ramadevi
  • 1
  • 9

2 Answers2

1

Try to reduce your AVD RAM to 512 MB and use Intel_x86.. As i think you are assigning large amount of RAM to your AVD..As your error saying that 1536 MB RAM and you reduced that RAM to 1152MB.. So make sure if you are using Low memory device try to assign specific amount of RAM to your AVD...

Falcon
  • 79
  • 1
  • 10
  • I am taking 5.4"FWVGA device, Resolution->480x854:MDPI. After creating AVD, Showing Resolution 1080x1920:MDPI. Size on Disk is 566 MB. How do i choose less MB RAM in Android Studio? – ramadevi Mar 24 '15 at 12:52
  • 1
    In Android Studio go to Tools->Android->AVD Manager After that you will see you devices.. On the right last column click on that edit icon and after that find a button show advance settings after clicking it scroll down the stuff and you will find the RAM area.. So try to change that and it will get fine.. – Falcon Mar 24 '15 at 12:58
  • After editing the RAM size, getting the below error. – ramadevi Mar 24 '15 at 13:14
  • Failed to create Context 0x3005 could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB emulator: warning: opening audio output failed Could not initialize emulated framebufferERROR: Could not create renderer: Couldn't find matching render driver – ramadevi Mar 24 '15 at 13:14
  • 1
    Try to make another Virtual Device i.e Nexus S.. Try to use built-in Devices if you are a beginner... Go to that AVD manager as i told you above.. there find a button (create virtual device) and then select Nexus S after that you have to select your version.. for now i suggest you to select Jelly Bean API 17 With (armeabi-v7a)... i hope your problem get solved doing this.. – Falcon Mar 25 '15 at 05:11
  • As i commented above if it doesn't work.. then i answered this problem at :http://stackoverflow.com/questions/28853550/using-android-studio-avd-gets-crash-during-launch-of-my-applicaton – Falcon Mar 25 '15 at 05:21
  • Thank you, I installed android studio on another machine. Now it is working. – ramadevi Mar 25 '15 at 07:16
0

HAXM memory and the amount you put to AVD memory have to be the same. Re install HAXM and choose amount that you selcteced for AVD.

sam
  • 1
  • 1
  • AVD > Select the device > Edit >RAM -make sure this value is same as the value you gave to HAXM when installing. Did you try uninstalling > installing, could you post the new error message ? – sam Mar 24 '15 at 12:20
  • Directly i re installed HAXM. which is under sdk->extras->intel->Hardware_Accelerated_Execution_Manager->intelhaxm-android. – ramadevi Mar 24 '15 at 12:26
  • Do you use Android Studio? try restarting – sam Mar 24 '15 at 12:30
  • No, manually I re installed it. How to reinstall HAXM using android studio? – ramadevi Mar 24 '15 at 12:33
  • Sorry for the misunderstanding. ya, i restated Android Studio and run the application. Got same error. – ramadevi Mar 24 '15 at 12:39
  • seams like you have not selected RAM value properly AVD > Select the device > Edit >RAM =512, Heap size 64 then restart Android Studio. – sam Mar 24 '15 at 12:50
  • Where do we reduce the RAM size of AVD in Android Studio? – ramadevi Mar 24 '15 at 12:56