2016년 12월 11일 일요일

Run out of memory when loading new screen


I have an app that only has 2 screens.  But just recently the app would crash every time i try to go to screen 2 and idk why


--
What does your Screen2 initialize do? Do you have/load large media files?

--
No, there's not even a Screen Initialize block put into that screen

-- 
My mistake, yes there is, 5 txt files are created if they were not already when screen 2 is loaded

-- 
Consider monitoring the logcat which most likely will tell you what the issue is.

--
Based on crash reports, the app runs out of memory when it tries to load page 2

-- 
I think i found the issue!  If i remove the Pink Play buttons to the right, it stops crashing.  But the only problem is that i need those buttons to play audio.  Any way around this?

-- 
Check the type of image and also check its size.

-- 
The images are only 40x by 40x and are PNG

-- 


댓글 없음:

댓글 쓰기