hello, i am creating an wallpaper app, but i am facing some runtime error issues. When i run the app it lags and when i go on screen 3 it shows a runtime error. please help me. Kindly waiting for a positive reply.
Thank You,
no sir my images are around less than 200 kb. but i have a lot of images.
Peter
(Moderator)
November 4, 2018, 9:48am
#4
It is not about the size in kb but the size in pixels. You images are still the problem.
but i have seen apps in playstore they have high resolution images, why don’t there app crashes?
1 Like
Vaibhav
(Vaibhav)
November 4, 2018, 10:19am
#6
Because its not related to any app, its related to memory(RAM) of your device.
It depends on how much RAM does your device has and how much is used by your app, keeping in mind another needed processes that are running in your device’s background which also occupy RAM.
Thanks a lot for the information bro. So, what should i do to solve this problem?
Vaibhav
(Vaibhav)
November 4, 2018, 10:32am
#8
Follow the tips 1 & 2 in the topic below
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG’s post about advantages/disadvantages , because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed…
If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a wh…
rizu
(Rizu Barury)
May 7, 2020, 9:42am
#10
Yes , i had this problem, but now fixed
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG’s post about advantages/disadvantages , because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed…
If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a wh…