Binary XML file line #2: Error inflating class android.widget.LinearLayout

前端 未结 1 534
执笔经年
执笔经年 2020-12-11 11:31

I am completely lost with this one. My app works perfectly on API 2.1 on my handset and through the emulator. I have just run it through a 2.2 emulator and I am getting a c

相关标签:
1条回答
  • 2020-12-11 12:03

    Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget may be the real culprit here. Try using smaller image to see if it is a memory-related issue.

    Check out these links for examples of similar issues: java.lang.OutOfMemoryError: bitmap size exceeds VM budget - android - how many images?
    OutOfMemory exception when loading bitmap from external storage

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