Errno = 13 and how to debug this more efficiently?

后端 未结 3 399
鱼传尺愫
鱼传尺愫 2021-01-16 16:52

I\'m making an application and when i go from menu to an other activity that display image using the e3roid framework, i allways get this (logcat):

D/PhoneWi         


        
相关标签:
3条回答
  • 2021-01-16 17:25

    This can happen if you are using a not supported texture format. Try using a RGB565. Here you can find some info about the issue: http://code.google.com/p/processing/issues/detail?id=391

    0 讨论(0)
  • 2021-01-16 17:28

    I had the same error some times ago, it was due to a lack of memory. In the emulator logcat and not on my phone (wildfire) it was saying: OutOfMemoryException.

    Make sure you use the recycle() nethod to clear bitmap from the memory.

    0 讨论(0)
  • 2021-01-16 17:35

    Hmm..I guess your device supports ARGB_8888 because all the images loaded well on your screen. OpenGL sometimes shows strange errors when the device encounters low memory situations.

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