hello there,
i've been developing this app for a few days as a work project.
Everything was going nice until today when one of the three screens stopped loading (on pc) and the companion would throw multiple internal errors as i tried to open the third screen while testing on my phone.
I have no clue of what the cause may be, apart from the size of the project or the number of components (visible and non-visible) being too much for appInventor to handle.
I really hope to get some help because this situation is compromising the integrity of my work so far and my chances of concluding and getting paid.
(i can't download the images of the block so i'll atttach the .aia file for you to check)
thanks for answering.
yeah i'm aware of bluetooth disconnecting while switching between screens and i've already delt with that. @TIMAI2 any idea of what the cause could be?
hoping @Boban will read this.
first of all thanks for the reply and for the effort into helping me.
the one .aia you sent still doesn't work, but it seems that the appInventor's UI bug has been fixed (designer and blocks get displayed and i'm able to "edit" them).
i tried testing the app through the Companion and it works at first, but as i open the BLE_settings screen the interface still bugs and doesn't render correctly as it doesn't display the graphics as it should (colors and layouts are gone and the few components that are shown are shrunk and graphically default-like).
then i build the .apk; after opening it the first screen work just fine, switches to the second as it should but then flickers and throws cache errors (or starts looping through the first and second screen, depending on how it feels about it). i've tried several times and i've managed to open the (initially) faulty screen, but each time it's a matter of second before it goes back to the second screen on it's own and then crashes again just like the other times.
thinking about it the easiest and fastest way to solve this is to go back to the original .aia, entirely delete the faulty screen and develop a new one from scratch. hopefully deleting the portion of the app that makes it crash and hoping there's no other bugged stuff around.
what would you suggest?
(i'll attach a photo of the crash error and a recording of the (non) funcioning app)
i deleted the old version of the extension and imported the newer one, now the project doesn't crash on opening but it sometimes throws an error. i tried testing it on the Companion and it crashes and closes the app a few milliseconds after the first screen opens. i tried fixing potential causes of bugs but, still, i think these are insignificant and they're not the cause of all this to me.
i don't know what to do or what the cause may be anymore, as you guys have already fixed some problems on the project and the BLE extension.
do you guys think starting a new project and recreating the non-functioning app would be worth it?
or will the cause of the crashes show up anyway? even if it's a totally different .aia .
i'm also running out of time to complete the task and present it.
Don't do this as it will delete all of the related blocks in your app. Simply importing the new version will overwrite the old without affecting the existing code.
at first i simply imported the newer over the older version but it was still buggy, so i figured deleting and later importing the new one would have worked
No need for me to upload the updated project as he can just redownload the above project and update the extension by himself however, I actually found a bug in Translator component he was using, the companion screen refreshes automatically as you go from to Designer/Blocks or in Block when you move them around screen refreshes it self automatically each time you move them..
i've been trying random corrections on my code for hours, then i took a look at the recent FAQs and the BLE one showed me that the extension had an upgrade.
and since i upgraded from the beta to the latest everything seems to be working fine, hopefully i'll make it on time for the job.
thank you all for helping me