Android emulator error: std::bad_alloc

前端 未结 3 1089
忘了有多久
忘了有多久 2021-02-08 16:26

I\'m using Eclipse Juno and the Android emulator (SDK Tools 21.1) and I\'m having this error a lot of times (well, two or three times in 6 hours):

[2013-03-22 11         


        
相关标签:
3条回答
  • 2021-02-08 17:00

    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

    0 讨论(0)
  • 2021-02-08 17:03

    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.

    0 讨论(0)
  • 2021-02-08 17:13

    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).

    0 讨论(0)
提交回复
热议问题