I have created one application related to maps using api 16 as soon as run this application this errors pops out.
[2012-10-18 20:05:26 - Maps] Android Launch!
[2012-10-18 20:05:26 - Maps] adb is running normally.
[2012-10-18 20:05:26 - Maps] Performing com.example.maps.MainActivity activity launch
[2012-10-18 20:05:29 - Maps] Launching a new emulator with Virtual Device 'andi'
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] Failed to create Context 0x3005
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-10-18 20:05:38 - Emulator] emulator: WARNING: Requested RAM size of 1024MB is too large for your environment, and is reduced to 768MB.
[2012-10-18 20:05:38 - Emulator] Failed to allocate memory: 1455
[2012-10-18 20:05:38 - Emulator]
[2012-10-18 20:05:38 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-10-18 20:05:38 - Emulator] Please contact the application's support team for more information.
when i run this application using api 14 it works but it is not working on api 15 and 16
I changed the VM Heap of the Virtual Device to a higher value - this resolved the crash for me.
The values are now: 10.1" WXGA 1280 x 800, Android 4.1.2, Intel Atom, Ram 1024, VM Heap 128, internal Storage 300 MB, SD 300 MB
Further, I changed the start-up settings for the memory in eclipse.ini, but I am not sure whether this is related to the problem or not.
OK I know this is too late for you but it may help someone else. I tried all the solutions given around but none worked for me
Google led me here
http://code.google.com/p/android/issues/detail?id=33336
The solution given worked for many but not for me. I include it here since maybe for you it will help
openGL in the wrong folder:
\tools instead of \tools\lib
copy the following files to the tools folder:
libEGL_translator.dll
libGLES_CM_translator.dll
libGLES_V2_translator.dll
libOpenglRender.dll
However using "Zachary's technique" at the end of the post
For those who cannot get this working.
Go get Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645). Add a filter for 'Process Name' + 'Contains' + 'emulator':
* Start your capture
* fire up the emulator
* wait until you get the failed message
* stop the capture
Search (ctrl + f) the capture for one of the dlls that is failing to load, like "libOpenglRender". You will probably see several attempts at locating this file across multiple directories with the result "NAME NOT FOUND" or "PATH NOT FOUND".
Using this I found I had an issue with atiglpxx.dll
I looked at me display adapter on my windows device manager and downloaded a driver for in my case ATI Modility Radeon HD 2400 XT from AMD
http://support.amd.com/us/psearch/Pages/psearch.aspx?type=2.4.2&product=2.4.2.3.15&contentType=GPU+Download+Detail&ostype=Windows+8+-+32-Bit+Edition&keywords=&items=20
Once I installed that I no longer got the "could not get wglGetExtensionsStringARB" message
Disable GPU emulation by setting it to off in the AVD preferences or by adding -gpu off to command line
Perhaps, your app requires OpenGL 2.0, emulator didn't support it until recently.
Android OpenGL ES 2.0 emulator
check this link
Go to your AVD manager, select the AVD you are trying to use and change the Target dropdown to "Google APIs (Google Inc.) - API Level 16". then save it and restart.
You have to play around with your android device specifications like RAN, Heap and other specification.
It's hard to tell you which must be set to what. In my case I set RAM as 512 and Heap 128 to make it work.
Related
i downloaded android adt (eclipse ide + android sdk), but when i tried to run it the this following error occurred:
[2013-07-02 21:51:47 - Emulator] Warning: No DNS servers found
[2013-07-02 21:51:47 - Emulator] Failed to allocate memory: 8
[2013-07-02 21:51:47 - Emulator]
[2013-07-02 21:51:47 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-07-02 21:51:47 - Emulator] Please contact the application's support team for more information.enter code here
Inside your Eclipse:
Window>Preferences>Android>Launch
Default emulator options: -dns-server 8.8.8.8,8.8.4.4
I've been following the instructions found at http://developer.android.com/training/basics/firstapp/running-app.html to run the Hello World app on Eclipse's AVD, but the AVD does not launch and I get the following messages:
[2013-01-20 00:20:59 - MyFirstApp] ------------------------------
[2013-01-20 00:20:59 - MyFirstApp] Android Launch!
[2013-01-20 00:20:59 - MyFirstApp] adb is running normally.
[2013-01-20 00:20:59 - MyFirstApp] Performing com.example.myfirstapp.MainActivity activity launch
[2013-01-20 00:21:00 - MyFirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'TestAVD'
[2013-01-20 00:21:00 - MyFirstApp] Launching a new emulator with Virtual Device 'TestAVD'
[2013-01-20 00:21:48 - Emulator] Failed to create Context 0x3005
[2013-01-20 00:21:48 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2013-01-20 00:21:48 - Emulator] Failed to allocate memory: 8
[2013-01-20 00:21:48 - Emulator]
[2013-01-20 00:21:48 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-01-20 00:21:48 - Emulator] Please contact the application's support team for more information.
Also, an error window popped up saying that the ARM emulator exe has stopped working. Any thoughts?
OP of this thread has similar error message,
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer
Hope it helps!
Check 2 things:
That you are using 512MB of RAM (the emulator doesn't work properly
with more)
Try turning 'Host GPU' off
Try running emulator from the command line with GPU option and make sure that it is working or not.
-gpu off
Even if it result into the error, go to the eclipse, Right Click on the project and select run my projects as an "Android application". Emulator should start.
You can also give a try with enabling/disabling GPU emulation option for the selected emulator from the AVD manager.
To enable/disable GPU emulation :
Goto AVD manager -> select android virtual device -> click on Edit ->
Hardware tab -> enable/disable GPU emulation.
Hope it will work.
I got this error when trying to run an emulator with a higher resolution than I had my display set to.
I have downloaded ADT Bundle with everything included http://developer.android.com/sdk/index.html. When I create Android Applicatio and I want to run I get sth like that. How to make it running.
[2012-11-21 10:18:00 - Test2] ------------------------------
[2012-11-21 10:18:00 - Test2] Android Launch!
[2012-11-21 10:18:00 - Test2] adb is running normally.
[2012-11-21 10:18:01 - Test2] Performing com.example.test2.MainActivity activity launch
[2012-11-21 10:18:01 - Test2] Automatic Target Mode: launching new emulator with compatible AVD 'Test'
[2012-11-21 10:18:01 - Test2] Launching a new emulator with Virtual Device 'Test'
[2012-11-21 10:18:01 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-11-21 10:18:01 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-11-21 10:18:01 - Emulator] Failed to allocate memory: 8
[2012-11-21 10:18:01 - Emulator]
[2012-11-21 10:18:01 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-11-21 10:18:01 - Emulator] Please contact the application's support team for more information.
While running your android app, it will loaded in new emulator. we cant able to run multiple emulator with single instance. Goto->Task Manager->adb(in running processes)->give end task->restart your eclipse and run your emulator.
Data partition already in use: This problem is based on your system RAM size and emulator ram size(allocating ram size while creating AVD) . If two emulator running in same instances,
the memory error will occur.
Whenever I start the emulator or directly run a app on emulator, it just display the emulator and home screen never comes .In console I am getting this:
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-08-09 11:20:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-09 11:20:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-09 11:20:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-09 11:20:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-09 11:20:42 - Emulator] could not get wglGetExtensionsStringARB
I have tried GPU emulation to yes and in command line in run configuration -
-gpu on
But still it is not working .Please someone could help me ?
Edit your AVD GUI settings. Hardware Section, select New. Hit the "Property" Dropdown Select "GPU Emulation" then "OK" Change "Gpu Emulation" to "YES" with the dropdown in Hardware Section.
Save and try again
EDIT: it could also come from recent updates. Please update all your components again including all your plugins to the newest version. There might be an update for eclipse itself as well. then delete your emulators and recreate them.
I have installed Java x64, Eclipse Classic Juno x64 + ADT Pluggin. OS win 7 x64. I installed everything according to the manual. Then created first application and launched it. Emulator was launched but the hello world app didn't. I have no idea what i am doing wrong. Does anyone know of such error and my problem as a whole? thx
Console log:
[2012-10-06 13:35:42 - test] ------------------------------
[2012-10-06 13:35:42 - test] Android Launch!
[2012-10-06 13:35:42 - test] adb is running normally.
[2012-10-06 13:35:42 - test] Performing com.example.test.MainActivity activity launch
[2012-10-06 13:35:42 - test] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_41'
[2012-10-06 13:35:42 - test] Launching a new emulator with Virtual Device 'AVD_41'
[2012-10-06 13:35:42 - Emulator] Failed to create Context 0x3005
[2012-10-06 13:35:42 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-10-06 13:35:42 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-10-06 13:35:42 - Emulator] WARNING: SD Card image already in use: C:\Users\Zewisa\.android\avd\AVD_41.avd/sdcard.img
[2012-10-06 13:35:42 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] emulator: warning: opening audio input failed
[2012-10-06 13:35:42 - Emulator]
UPD: I updated audio & video drivers. All the errors have gone, but still application does not launch
UPD2: made some screenshot
Sometimes app gets installed onto the emulator but it's main activity is not launched. Check the apps on the emulator to see if your app is installed. If it is, try launching it from there
I found the mistake, I have killed the process adb.exe than launched emulator from AVD Manager when it launched runned application and hello world was runned, thx for everyone