I had a strange problem many of the times I built the APK, where the generated ".pyo" files for the migration files with really long names were being truncated, leading to errors during the migration process (as the extensions were being cut off, and then it couldn't be imported). Pre-shortening them seems to help with this, but solving it "properly" would be even better.