Runtime Error on Android Device - No problem in Simulator

Hi everyone,

I only just started developing apps and so far it has been a lot of fun. I am coming close to finishing my first app, and until now have only been testing it on the simulator. There are however a couple functions that I wanted to test on a mobile device as well. I built my app, created an .apk file, and loaded it on my mom’s old Samsung S3. After installing the app and trying to open it I get the following error:

Runtime Error  /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:835: loop or previous error loading module ‘storyboard’

I am new to development, and have no idea what this means. I assume it means that it has trouble loading the storyboard part of my code, but if someone could explain exactly what it means that would be great.

Now I have read that most issues that cause an app to not launch on a device while working just fine in the simulator have to do with the fact that files are case sensitive on android devices. I check this, and I don’t think this is causing my problem.

I found one other post with a similar problem, but there was no real solution posted there.

Please also let me know if there are some parts of the code that I need to share that could help identify the problem. This is the first time I’m asking for help on a developing forum, so I am kind of new to what is appropriate when asking for help.

Is there anyone that could point me in the right direction?  :slight_smile:

Hi @markmellink,

Can you locate and post what happens to be on line 835 or “init.lua”?

Also, please read through the basic “debugging guide”… often that will help you determine what is causing the issue:

https://docs.coronalabs.com/guide/basics/debugging/index.html

Best regards,

Brent

Hi @markmellink,

Can you locate and post what happens to be on line 835 or “init.lua”?

Also, please read through the basic “debugging guide”… often that will help you determine what is causing the issue:

https://docs.coronalabs.com/guide/basics/debugging/index.html

Best regards,

Brent