App Crashes When I Open Another Activity
So I am creating an app with 5 activities that have 5 separate soundBoards in which are controlled by 5 separate soundPools. I am also using a navigational drawer on each activity.
Solution 1:
Indeed, the problem seems to be the low size of your emulator's RAM. You have used some heavy drawables as backgrounds for your Button
s in the navigation drawer. The OutOfMemory
error seems to be thrown due to low RAM availabilty, because of one of these large-sized images.
Go to the AVD manager and increase the size of your RAM to at least 512 MB and then try running the app again. Also try testing on a real device if one is available.
Post a Comment for "App Crashes When I Open Another Activity"