My app crashes on device after the August 18 release.

41 views
Skip to first unread message

Rita Gazubey

unread,
Oct 26, 2015, 6:10:32 AM10/26/15
to MIT App Inventor Forum
Hello friends!

My app crashes on device after the August 18 release.
I have an app maded by previous version of MIT AppInventor. This app works sucsessfully in Google Play.
Then I udated it insignificantly. And now the app crashes on my device (Sumsung NoteIII. The device has enough memory.)
I have reworked it in new version but the problem still persist. The new app workes  if there are no any pictures only. But the old app had there are many pics, but sucsessfully worked.
The problem occur when screen changed. The app stops and closes.

It used multi screens. But if the app transits to another screen, the previous screen closes... images are not big...
(the old version of my app has more images... and the size is bigger, but  it worked previously...)

I attach my old, new version and a version without of pics (.aia).
Help me to solve this problem please!:)
FantasyArt4CrossStitch_old.aia
FantasyArt4CrossStitch_new_Pictures.aia
FantasyArt4CrossStitch_new_noPictures.aia

Ghica

unread,
Oct 26, 2015, 11:40:17 AM10/26/15
to MIT App Inventor Forum
For the time being, your only hope is to make your images as small as possible.
The developers are working on a solution, but it is not there yet.
Cheers, Ghica.

jis

unread,
Oct 26, 2015, 1:47:10 PM10/26/15
to MIT App Inventor Forum
I have looked at your app (the old version). You need to use an image editing tool to scale your images down an appropriate size for the amount of screen they are going to use.

The August "Responsive" release added code where we scale images up in size to deal with devices with different screen densities (this is needed to support tablets). Chances are your application was barely fitting in memory before the change and with the change too much memory is being used.

Note: Most Android Apps have to fit in 50 Megabytes of memory independent of the amount of memory physically present on a device.

-Jeff
Reply all
Reply to author
Forward
0 new messages