Simulator/Android graphic display differences? Runtime error

Hi all,

I started creating my first game more than a month ago with last stable build of Corona. Everything was fine, but when I tried to publish in Google Play, it turned out that SDK version is too old. So I’ve switched to latest daily build (Corona 2020.3579). Now I have a very strange behavior. In Simulator my game looks like before, but on Android phone many elements are different size and are displayed in different places, which makes game unusable :frowning: Does it mean that I need to rewrite the game somehow? Please tell me that I’m only missing some configuration parameter. 

Also after switching to latest Corona 2020.3579, application on physical device displays an error while trying to load one of the screens, which is working fine on Simulator:

Runtime Error 

module ‘summary’ not found: archive is corrupted

What could be reason of that??

Thanks for any help!

Hi, no one has any idea what might be wrong with the application?

With no further info, my guess would be that a display object in summary.lua is failing to load, which is preventing the rest of summary.lua from loading. 

File names are case sensitive on devices but not in the simulator so it could be that you have an image file with upper case letters being referred to with lower case, or something along those lines. In the sim they would work fine, but on the device they would fail.

Thanks for your suggestion Alan PlantPot, I checked it and seems that is something different. That screen is only loading one image and all characters are lower case as they should be. Strange thing is that it was working when I was doing compilation on last stable version of Corona SDK, it’s not working since I switched to  Corona 2020.3579.

Also, I’ve created a release keystore for Google Play. Is that something which can break application build?

Oh my, have a same problem. I dig internet for a week and can’t found answer. Found old project and wanna to finish it but on device corona cannot find my module (without graphics, only my own default variables for easy work). So i hope someone know how to fix it. For more:

If use livebuild then no error but scale (in my case letterbox) dont work… if no use live build then cant find modules what on folders. If modules near with main.lua file then just dark (black) display (screen).

sorry for my english no englishman, help =(

Wow. This is very curious issue, but I don’t really know what is going on here.

There are couple suggestions: if you build any of the demo apps, does it work fine? Make sure to uncheck “Live Builds” checkmark in build dialog.

What OS are you using, etc.

Hi a2155812,

My problem was solved in this thread: https://forums.coronalabs.com/topic/77437-objects-sizes-on-simulatorandroid/

Root of a problem was a copy of one of files existing in my project’s folder. It caused graphic display problems and runtime error as well.

Hey, aleksander.gogoc

That’s amazing. It’s really work! Thanks you very much, you’re breathtaking :heart:

Hi, no one has any idea what might be wrong with the application?

With no further info, my guess would be that a display object in summary.lua is failing to load, which is preventing the rest of summary.lua from loading. 

File names are case sensitive on devices but not in the simulator so it could be that you have an image file with upper case letters being referred to with lower case, or something along those lines. In the sim they would work fine, but on the device they would fail.

Thanks for your suggestion Alan PlantPot, I checked it and seems that is something different. That screen is only loading one image and all characters are lower case as they should be. Strange thing is that it was working when I was doing compilation on last stable version of Corona SDK, it’s not working since I switched to  Corona 2020.3579.

Also, I’ve created a release keystore for Google Play. Is that something which can break application build?

Oh my, have a same problem. I dig internet for a week and can’t found answer. Found old project and wanna to finish it but on device corona cannot find my module (without graphics, only my own default variables for easy work). So i hope someone know how to fix it. For more:

If use livebuild then no error but scale (in my case letterbox) dont work… if no use live build then cant find modules what on folders. If modules near with main.lua file then just dark (black) display (screen).

sorry for my english no englishman, help =(

Wow. This is very curious issue, but I don’t really know what is going on here.

There are couple suggestions: if you build any of the demo apps, does it work fine? Make sure to uncheck “Live Builds” checkmark in build dialog.

What OS are you using, etc.

Hi a2155812,

My problem was solved in this thread: https://forums.coronalabs.com/topic/77437-objects-sizes-on-simulatorandroid/

Root of a problem was a copy of one of files existing in my project’s folder. It caused graphic display problems and runtime error as well.

Hey, aleksander.gogoc

That’s amazing. It’s really work! Thanks you very much, you’re breathtaking :heart: