tobidwest
(Koder)
October 29, 2018, 5:55pm
#1
Good afternoon,
I just finished an application and unfortunately, it crashes at startup (pop up by android system sais “ZeilenZauber has stopped”).
Can anyone please take a look into the project (as *.aia file attached) and tell me what to change in order to make it working?
ZeilenZauber.aia (369.8 KB)
Thank you all very much in advance for helping me!
Peter
(Moderator)
October 29, 2018, 6:00pm
#2
Just post your blocks and tell about your assets that you use and extensions. Few people will download and import your project to test it for you.
1 Like
tobidwest
(Koder)
October 29, 2018, 6:25pm
#4
Okay, so this is Screen1:
Just noticed that it shows a warning here, don’t know why
And this is Screen called “Home”
Here a list of my assets, i think sometimes the names can be problematic:
I hope I did not forget something important. If so, please tell me!
Thanks!
Peter
(Moderator)
October 29, 2018, 6:30pm
#5
What are the settings of you lottie component?
When i set lottie component without size to automatic it makes the app crash (i set to height 25%, width 50%)
1 Like
Vaibhav
(Vaibhav)
October 29, 2018, 6:41pm
#6
That red cross is not just a warning, it’s a serious error. Your app is not going to work without solving that error. So along with what @Peter said, also try to remove that error and try again.
(Try to click on that red mark to know the reason of the error)
2 Likes
tobidwest
(Koder)
October 29, 2018, 7:18pm
#7
Thanks for the hints!
I just fixed the sizing issue (will it be fixed in future?) and checked the red cross. It shows up this:
What does this mean? How to fix?
[EDIT: Just deleted all components on that screen and rebuilt it, the error now is gone. I’m going to check it with the apk now again.]
[EDIT: Now it asked for permission, I granted, it showed up a blanc screen for a couple of seconds and crashed again.]
[EDIT: Set background image did not show up in preview in Kodular, so I readded. Now I see Screen1 until clock ends and then it crashes.]
Vaibhav
(Vaibhav)
October 29, 2018, 7:40pm
#8
What about checking the Lottie component as indicated by @Peter in the reply above?
tobidwest
(Koder)
October 29, 2018, 7:45pm
#9
Did it, did not solve the crash on screen “Home”.
your aia not crash …full work my computer… your network problem
tobidwest
(Koder)
October 29, 2018, 8:17pm
#11
But on my phone it doesn’t. And this red cross network error is fixed.
tobidwest
(Koder)
October 29, 2018, 8:22pm
#13
It does nomore appear for me to, this error sign
browser cookies clean and sign in
Shreyash
(Shreyash Saitwal)
October 30, 2018, 1:34am
#15
Try this method to switch between screens, maybe it can help.
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
h…
1 Like
You must keep you component id simple bro
Boban
(Boban Stojmenovic)
October 30, 2018, 5:19am
#17
This happens if connection is lost or companion crash, detach and attach the block solves the issue
Saw this from your aia, you had this for several image files, re-selecting the right file again worked.
This was the reason for the crash , spotlight component pointed to Component SideMenu shall it do that, removed and it works, since I’m unfamiliar with this component I added a bad workaround to it, @KodularCreator how to use Spotlight component to point at hamburger menu button .
Since we can’t for now control the size of lottie component I added a arrangement to do that instead on Home screen.
ZeilenZauber_1.aia (369.8 KB)
edit , forgot to mention that your icon image is too big for the purpose and may cause issues on some devices.
/Boban
Conor
October 30, 2018, 8:45am
#18
Unfortunately, you can’t. The spotlight can only be shown on visible components.
1 Like
tobidwest
(Koder)
November 2, 2018, 8:44am
#19
Thanks but as I said all errors on “screen 1” are fixed, it works properly. The problem begins from screen “Home’” on. @BD_Developer
Thank you for all these tips, I’ll try them soon and tell you if it worked or not. @Boban @anuragtekam0 @Shreyash
1 Like
Boban
(Boban Stojmenovic)
November 2, 2018, 12:23pm
#20
Try the attached file in my last post, works as build apk.
/Boban