Android 4.0 emulator always has a crashing Launcher?

后端 未结 13 2829
误落风尘
误落风尘 2020-12-14 05:08

I\'m trying to make an Android 4.0 emulator. I\'ve tried this process on a fairly fast computer in both Linux and Windows(Phenom II X6 w/ 8G of RAM) and every time I get \"u

13条回答
  •  长情又很酷
    2020-12-14 06:01

    I had the same issue and I had to do factory reset on my phone twice to get rid of this. But I then realized that the issue always happened when I was testing one particular app and thus the prob was narrowed down. Also I saw the error file and it showed OOM crash lines.

    I then checked my last changes within that application and I found out to my surprise that the custom app logo which I was using replacing ic_launcher was huge in size due to which everytime I ran that application System launcher tried opening it and ended up with OOM.

    I know, I know it sounds weird but trust me this was the issue. I reduced the size and tested again and things were working fine.

    Note - I even tried testing on my friend's phone and crashed his launcher too. ;)

提交回复
热议问题