I have found that if you import an aia file (exported from the normal app inventor) then it often says
"This project was saved with a newer version of the App Inventor system. We will attempt to load the project, but there may be compatibility issues."
followed by
"The blocks area did not load properly. Changes to the blocks for screen xxxxxxxx_Screen1 will not be saved"
and there are no blocks after the import.
I have found that this issue occurs when you have HorizontalArrangement layout objects in the designer view, although it may happen for other objects (specifically other layout objects).
I have found a work-a-round which is to edit the files in the aia file and change the Ya Version from 159 to 158.
- Unzip the aia file - I am running Ubuntu, so for example "unzip test.aia" (note you should use zip rather than gzip)
- Edit the *.scm file and change "YaVersion":"159" to "YaVersion":"158"
- Edit the *.bky file and change ya-version="159" to ya-version="158"
- Re zip the files: example run "zip -r ../test_158.aia *" in the directory that contains src and youngandroidproject (and assets if you have media files)
The file should then hopefully import into App Inventor javabridge without any issue.