APK Build Issues

So my app works well on the simulator and I began an android build for it.

However when running the apk file now on my phone, its not the same as the simulator.

Deleted screenshot

All my app resources are under 2500 pixels width/height so it’s not a graphics issue.

That specific scene is 2713 lines long.

It seemed to have built everything until line 811.

Here is a screenshot:
 

GUI- Red border thing

bar- the colorful meter thing

rainbow- the rainbow arrow

Anything after line 811 (functions, objects, event listeners, anything and everything) did not get compiled or whatever term you use.

All other scenes works, its just that scene that doesn’t.

What may have caused this and how to fix it?

This has happend in the following sdk versions:

Corona-2019.3490

Corona-2019.3476

Corona-2018.3326

If you know how to fix it I can send you the project files but I am not posting them publicly here for obvious reasons

Nevermind I found the issue.

One of my file names had .PNG instead of .png. Corona overlooks this but not Android.

Therefore: Always fix your errors before build XD

Actually, this isn’t a Corona thing. Microsoft Windows and Apple macOS (by default) use case in-sensitive file systems (Apple seems to be starting to encourage people to use case sensitive ones). iOS and Android use case sensitive operating systems.

Historically, Windows (and back to the says of DOS), Microsoft hasn’t cared about case sensitivity. However, when Apple switched from OS 9 to OS X, they switched from a custom operating system, which was case insensitive to a Unix based operating system (MACH). Unix based OS’s have been case sensitive since the 1960’s. I suspect Apple has to make the GUI part of OS-X pretend to be case in-sensitive as people moved from OS 9 to OS X. Android runs on Linux, which is a descendent of Unix and has inherited it’s case sensitivity.

The Corona simulator runs at an application level on Windows and macOS, so we see a case in-sensitive OS and that’s what leads to this problem. There isn’t much we can do about it other to encourage Mac users to start using case sensitive file systems (but there are a ton of legacy apps where that may not be safe, ergo, the slow adoption of this). Microsoft will likely always be case in-sensitive. 

Rob

If you know how to fix it I can send you the project files but I am not posting them publicly here for obvious reasons

Nevermind I found the issue.

One of my file names had .PNG instead of .png. Corona overlooks this but not Android.

Therefore: Always fix your errors before build XD

Actually, this isn’t a Corona thing. Microsoft Windows and Apple macOS (by default) use case in-sensitive file systems (Apple seems to be starting to encourage people to use case sensitive ones). iOS and Android use case sensitive operating systems.

Historically, Windows (and back to the says of DOS), Microsoft hasn’t cared about case sensitivity. However, when Apple switched from OS 9 to OS X, they switched from a custom operating system, which was case insensitive to a Unix based operating system (MACH). Unix based OS’s have been case sensitive since the 1960’s. I suspect Apple has to make the GUI part of OS-X pretend to be case in-sensitive as people moved from OS 9 to OS X. Android runs on Linux, which is a descendent of Unix and has inherited it’s case sensitivity.

The Corona simulator runs at an application level on Windows and macOS, so we see a case in-sensitive OS and that’s what leads to this problem. There isn’t much we can do about it other to encourage Mac users to start using case sensitive file systems (but there are a ton of legacy apps where that may not be safe, ergo, the slow adoption of this). Microsoft will likely always be case in-sensitive. 

Rob