2014년 12월 5일 금요일

App Inventor Work not saving

One of my students continually gets this message regardless of the computer she is working on. Any work she does in lessons cannot be saved. Her code is extremely simple, so there shouldn't be a problem. She cannot save any of the work she does.
 
"The blocks area did not load properly. Changes to the blocks for screen 520817906443874_Screen1 will not be saved."
I have had a look on the other forums but there doesn't seem to be an answer.
Any advise would be welcome.




There's definitely corruption there.  Not sure what it is though.  I deleted ALL blocks, and ALL media, and still get errors.

I'll pass this message on to the dev team, and maybe they'll have insights into what happened... But, as you said, it's a VERY simple project, and can be recreated in a few minutes, which is what I'd do... Open the project up and print the screen so you have the blocks.  Then, start a whole new project, and recreate it.

My guess is that something happened on day on a save... some corruption or a glitch of some sort.

Alternatively, you could load the project from a previous AIA file and build it back up.



The Project is corrupted.   I recommend saving the images, if the student does not have the originals.  Make a screen capture of the Designer and Blocks screen, so the student can see what the project is supposed to look like; then starting the Project from scratch with a new name.

Something happened.  What?

Here are some issues:   The student uses a Canvas that is about 325 x 225? or so.  The Numeric sprites all are 225 x 225.  That means AI2 has to shrink all of them to the small size seen in the campus image.  This shrinking should be done in a image program on the pc...shrinking these graphics to 25=25 or so.    The corruption might have occurred because of ten srites being shrunk.

The images in the student's Media folder... one is  a 1600 x 1127 image at 2.18 Mb ...VERY large and not yet used in the app.  The main image used on the Canvas uses only a small portion of these images...cropping should occur outside AI2.

What is responsible for the corruption?   I doubt any one of the above, but in combination they might have caused an issue.

Someone else might have another opinion.    I deleted images, one by one, blocks etc and got to the bare screen...something was still corrupted.  Start with a clean slate, use smaller images and things will probably be ok.   Also make a copy of your project periodically as an aia   and/or   Projects > Save project as.... giving it another name.    Unfortunately, AI2 does not have an un-do function.   If the student had a back up point, he/she could recover.

I strongly recommend the student start over John...painful...and he/she should reduce the size of the images to something compatible with an Android screen.

The student renamed most of the controls.   Many believe developers should rename the controls, I have been programming for over 30 years and I do not believe in it because renaming controls can cause corruption, is unnecessary .    If that is what you expect your students to do, then continue.


댓글 없음:

댓글 쓰기