Screen Bug

15 views
Skip to first unread message

Thiago Ávila

unread,
May 16, 2019, 8:09:08 AM5/16/19
to mitappinv...@googlegroups.com
I was working in an app, everything was going good, but after the update on 10 May I can't compile it anymore, I found there is a screen with bug, but I can't even delete it, anyone knows how can I delete screens with bug? I don't want to start all over again.
Screen Shot 2019-05-16 at 09.08.42.png
AGIL.aia

SteveJG

unread,
May 16, 2019, 8:17:14 AM5/16/19
to MIT App Inventor Forum
Did you try this :

Select the Screen you want to delete  in step 1 (use the drop down carrot).  Then go to step 2 and 

screenDelete.PNG

press Remove Screen.    Be aware, Screen1 can not be deleted.  There must always be a Screen1. 

Regards,
Steve


Regards,
Steve

Message has been deleted
Message has been deleted
Message has been deleted

Thiago Ávila

unread,
May 16, 2019, 8:19:42 AM5/16/19
to MIT App Inventor Forum
Ya, but when i select the screen (1 on yr pic) it gives me the dialog box that i posted.
Message has been deleted
Message has been deleted
Message has been deleted

SteveJG

unread,
May 16, 2019, 8:24:54 AM5/16/19
to MIT App Inventor Forum
Do NOT select Screen1, use the little triangle to select the screen you want to delete.   Do you actually want to delete Screen1?   That is impossible and may be why you see the error message.
Message has been deleted

Thiago Ávila

unread,
May 16, 2019, 8:29:08 AM5/16/19
to MIT App Inventor Forum
Ya im using the little triangle, and the screen with the bug is not the screen1, thats not the screen that i want to delet, there is a another screen(with bug) that i want to delet... but when i use little triangle to select that screen it gives me the error, screen 1 and others screens are working fine
Message has been deleted

Thiago Ávila

unread,
May 16, 2019, 8:32:51 AM5/16/19
to MIT App Inventor Forum
I put aia file on main msg ... the screen name is "central" thats the one with problem that i cant delet


Em quinta-feira, 16 de maio de 2019 09:24:54 UTC-3, SteveJG escreveu:

SteveJG

unread,
May 16, 2019, 8:43:20 AM5/16/19
to MIT App Inventor Forum

OK, so you have an error on Screen1.    Sorry, you cannot delete Screen1, you either need to fix the code   or  re-build your app.

Did you added the new Switch component to your Project, you probably could remove it from your aia.  The Switch is causing issues when users use a Classic Theme.  Removing the Switch component, if you added it, or removing any code you added to your Project since it last worked might allow you to recover working code.   Otherwise, post a Block image of your Screen1 here in the Forum and someone might look at it and provide specific advice.

Did you make a backup aia of your Project made before you started testing with the latest update?  If you have that aia, use the code that worked before.       Also, make sure you use the new Companion 2.52 with your Project.

Thiago Ávila

unread,
May 16, 2019, 8:46:23 AM5/16/19
to MIT App Inventor Forum
No Steve, I don't have an error on Screen1, the error is on another screen, witch I didn't have to change anything since the update...

SteveJG

unread,
May 16, 2019, 9:07:43 AM5/16/19
to MIT App Inventor Forum
OK ...you have seven screens and some very large images that are probably causing issues.  You might resize those images and try to compile again...your app might work if those images are smaller  and you won't have to delete the screen.



badaia.PNG


Thiago Ávila

unread,
May 16, 2019, 9:08:54 AM5/16/19
to MIT App Inventor Forum
Ok i will try it

Thiago Ávila

unread,
May 16, 2019, 9:15:10 AM5/16/19
to MIT App Inventor Forum
Na it's not a img problem, i deleted all those imgs, also tryed to delet all images of project, the error still there... the problem is on screen called "central" but i can't delet or open that screen, cuz i got the error... if you opened the aia file, try to open that screen called "central" and you gonna get that error also
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

SteveJG

unread,
May 16, 2019, 10:38:49 AM5/16/19
to mitappinv...@googlegroups.com
Try the attached.  I removed the central.scm and central.bky files from the aia archive.  The modified aia might run.
modifiedAGIL.aia

Thiago Ávila

unread,
May 16, 2019, 10:41:55 AM5/16/19
to MIT App Inventor Forum
Worked just fine! thx alot
Reply all
Reply to author
Forward
0 new messages