Saturday, April 5, 2014

Android emulator error at runtime std bad alloc

Mostly Android users face this problem at runtime when run Android emulator:

[2013-03-22 11:41:19 - Emulator] terminate called after throwing an instance of  std::bad_alloc

[2013-03-22 11:41:19 - Emulator]   what():  std::bad_alloc

[2013-03-22 11:41:19 - Emulator]

[2013-03-22 11:41:19 - Emulator] This application has requested the
Runtime to terminate it in an  unusual way.

[2013-03-22 11:41:19 - Emulator] Please contact the applications support

team for more information.

.....................................................Solution.............................................................

Go to -> Window -> Android Virtual Device Manager

Android emulator error at runtime: std::bad_alloc
Window-> Android virtual device manager
 Select your current Virtual Device -> Edit -> Disable Use Host GPU -> Ok

Android emulator error at runtime: std::bad_alloc
Disable Use Host GPU and Enable Snapshot

The reason is that if we enable Use Host GPU than it requires high capability of your systems graphics card but mostly user does not have high quality graphics card thats why it gives problem but it effects on performance of emulator. To increase the performance, enable the snapshot option and now all is OK.

For more related to Android tutorial see List of Android Tutorials. Share this to help others. Thanks... :)

0 comments to “Android emulator error at runtime std bad alloc”

Post a Comment

 

Android Apk Copyright © 2016 -- Powered by Blogger