tsutsuruki
(Kegamo Akiri)
March 12, 2019, 5:35pm
#1
The last app I made was very slow due to high amount of code blocks (+1000) in a few screens.
So I decided to try and make this one lighter by using little code divided in multiple screens, It runs really fast but as the tittle says it crashes at exactly 27 clicks.
Any thoughts?
Thanks
Are you doing anything on 27 clicks? Check your image files Your app might be running out of resources and it happens if your Images are too big
tsutsuruki
(Kegamo Akiri)
March 12, 2019, 5:54pm
#3
I should have been more specific, every click navigates the app to another screen. (14 Screens, 7MB apk size). Could it still be a resource problem?
Boban
(Boban Stojmenovic)
March 12, 2019, 5:58pm
#4
Show blocks of how you go from one screen to the other one
/Boban
tsutsuruki
(Kegamo Akiri)
March 12, 2019, 6:05pm
#5
Correct answer button:
And to starting page through side menu and header:
Boban
(Boban Stojmenovic)
March 12, 2019, 6:09pm
#6
There you have the Issue, bad way of switching screens
https://puravidaapps.com/tutorials.php#multiple
And in Kodular this i the recommended method of switching screens
I see many issues done by users because they switched screens not correct.
This below is now just one of many other solutions:
[blocks]
If you dont open/close screens correct your app will get possible runtime errors.
Possible errors: (example)
Unable to add window -- token android.os.BinderProxy@45d459c0 is not valid; is your activity running?
Iam sure you don’t want that.
Then please do it in the future and switch screens correct.
General Tips and Tricks for App Inventor/Makeroid
…
/Boban
3 Likes
tsutsuruki
(Kegamo Akiri)
March 12, 2019, 6:16pm
#7
I’ll give it a go, Thank you.
1 Like
system
(system)
Closed
April 11, 2019, 6:16pm
#8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.