Android emulator error: std::bad_alloc

删除回忆录丶 提交于 2019-12-03 06:40:00

Sorry my reputation is not high enough, this should be a comment, since it is not a real solution.

I'm having the same issues, but it stops when I disable 'Use Host GPU'. I think it must be an error in of the emulator, since I can also generate the issue when I play around in the emulator (without using my own app).

BrownIndustries

As stated by RobinDeCroon, I only have this issue when using "Use Host GPU". From Related, it's possibly a bug/problem with older Intel graphics cards

I Had the exactly same error message while using Android Studio and Fixed it by changing the Boot option from Quick Boot to Cold Boot. In Android Studio you can go into Tools > Android > AVD Manager > Edit (The Pencil) > Show Advanced Settings > And changed from Quick Boot to Cold Boot.

I don't know how to do that only with only the emulator, but this may be a clue of how to solve this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!