Skip to first unread message

Ivan D'Ippolito

unread,
Jun 16, 2017, 12:16:20 PM6/16/17
to MIT App Inventor Forum
Hi ! I have a problem with the MIT App Inventor AI2 Companion . When I scan the QR code, everything is ok; but when i'm connected, the app can't read the project and begins to go crazy. It begins to white screen and, after a few seconds, on the computer, appears a companion error. What can I do ? 

SteveJG

unread,
Jun 16, 2017, 1:04:26 PM6/16/17
to mitappinv...@googlegroups.com
This advice probably will help  https://groups.google.com/forum/#!msg/mitappinventortest/fLiMEfPh09Q/1Ia0AaQEXogJ   

Your app is probably huge, loads lots of large images and/or sound files, the aia may be over 5Mb , the app may have huge numbers of layouts and buttons etc.
We don't know.  Why?   You did not tell us anything about your App that would help anyone to provide specific advice other than 
please read the note in the link above.  You also did not tell us what the error was.

If you load a different simple Project it  probably will load just fine.  Can you do that?  If it does, you violated a coding principle.

Evan Patton

unread,
Jun 16, 2017, 1:10:22 PM6/16/17
to MIT App Inventor Forum
We've had reports of this problem happening when there are empty sockets that need to be filled in the application. After the code gets sent, the interpreter on the phone attempts to compile the code and fails. If you have a lot of blocks, it gets into a loop trying to figure out which block is the one that caused the error and you get this resetting of the screen behavior. I would check all of your blocks for any warning triangles (click Show Warnings in the lower-left corner of the blocks editor). We are also working on a fix so that this doesn't happen in the future.

Evan
Reply all
Reply to author
Forward
0 new messages