Code working on simulator, but error on phone

I tried to test my app that I made on my android phone but I get the Error message, This application encountered a Lua error (see logs) or has been corrupted. This application however worked fine in the simulator and I cannot find any errors that would cause this. The only thing that comes up in the emulator as possibly a problem, but I think to be just part of storyboard are the three letters grp. It comes up on the simulator a lot. [import]uid: 226740 topic_id: 36084 reply_id: 336084[/import]

Devices are generally case sensitive.

if your file is named like:

myFile.lua

And you are requiring it like:

local myFile = require( "myfile" )  

it will work in the simulator but fail on device. Same goes for images, so double check your filenames and how you are inputting them into your code. [import]uid: 84637 topic_id: 36084 reply_id: 143354[/import]

I am having the exact same problem. In fact this is killing me I feel like I am going to rip whats left of my hair out of my head. I see the answer a lot about checking the syntax and make sure everything matches, and in my case I have, and I can not get it to work. The code only works in the corona simulator, in the android AVD it doesn’t work and on my android device it doesnt work. I know Im not the OP but I could use some help with this also. Should I post a new thread? [import]uid: 89054 topic_id: 36084 reply_id: 143907[/import]

david.newman I actually figured out my problem, I can help u figure out yours over skype or on here. If you want to do Skype friend me at dayaffe99. [import]uid: 226740 topic_id: 36084 reply_id: 143913[/import]

K I will call you on Skype when I get back from lunch, I’m just finishing up now. [import]uid: 226740 topic_id: 36084 reply_id: 143916[/import]

doesnt matter to me, I appreciate any help I can get. I added you to skype also.

EDIT:

Couple Screenshots of an error log if it helps


[import]uid: 89054 topic_id: 36084 reply_id: 143915[/import]

So after a few hours we figured out what was going on. I figure I would reply in case someone else is reading this forum having a similar issue. Long story short, I am developing a business style app that uses the tab bar widget and buttons widgets heavily. I had upgraded to the latest public release of corona, however never updated my code. That’s why we couldn’t find any lua errors, because essentially they were none. However, since widgets 2.0 uses a different syntax, it was causing weird lua errors that was not letting run properly on the android AVD or my device.

Hope this helps someone else. Plus a big thanks to dayaffe99 for helping me out. [import]uid: 89054 topic_id: 36084 reply_id: 144010[/import]

Devices are generally case sensitive.

if your file is named like:

myFile.lua

And you are requiring it like:

local myFile = require( "myfile" )  

it will work in the simulator but fail on device. Same goes for images, so double check your filenames and how you are inputting them into your code. [import]uid: 84637 topic_id: 36084 reply_id: 143354[/import]

I am having the exact same problem. In fact this is killing me I feel like I am going to rip whats left of my hair out of my head. I see the answer a lot about checking the syntax and make sure everything matches, and in my case I have, and I can not get it to work. The code only works in the corona simulator, in the android AVD it doesn’t work and on my android device it doesnt work. I know Im not the OP but I could use some help with this also. Should I post a new thread? [import]uid: 89054 topic_id: 36084 reply_id: 143907[/import]

david.newman I actually figured out my problem, I can help u figure out yours over skype or on here. If you want to do Skype friend me at dayaffe99. [import]uid: 226740 topic_id: 36084 reply_id: 143913[/import]

K I will call you on Skype when I get back from lunch, I’m just finishing up now. [import]uid: 226740 topic_id: 36084 reply_id: 143916[/import]

doesnt matter to me, I appreciate any help I can get. I added you to skype also.

EDIT:

Couple Screenshots of an error log if it helps


[import]uid: 89054 topic_id: 36084 reply_id: 143915[/import]

So after a few hours we figured out what was going on. I figure I would reply in case someone else is reading this forum having a similar issue. Long story short, I am developing a business style app that uses the tab bar widget and buttons widgets heavily. I had upgraded to the latest public release of corona, however never updated my code. That’s why we couldn’t find any lua errors, because essentially they were none. However, since widgets 2.0 uses a different syntax, it was causing weird lua errors that was not letting run properly on the android AVD or my device.

Hope this helps someone else. Plus a big thanks to dayaffe99 for helping me out. [import]uid: 89054 topic_id: 36084 reply_id: 144010[/import]

Devices are generally case sensitive.

if your file is named like:

myFile.lua

And you are requiring it like:

local myFile = require( "myfile" )  

it will work in the simulator but fail on device. Same goes for images, so double check your filenames and how you are inputting them into your code. [import]uid: 84637 topic_id: 36084 reply_id: 143354[/import]

I am having the exact same problem. In fact this is killing me I feel like I am going to rip whats left of my hair out of my head. I see the answer a lot about checking the syntax and make sure everything matches, and in my case I have, and I can not get it to work. The code only works in the corona simulator, in the android AVD it doesn’t work and on my android device it doesnt work. I know Im not the OP but I could use some help with this also. Should I post a new thread? [import]uid: 89054 topic_id: 36084 reply_id: 143907[/import]

david.newman I actually figured out my problem, I can help u figure out yours over skype or on here. If you want to do Skype friend me at dayaffe99. [import]uid: 226740 topic_id: 36084 reply_id: 143913[/import]

K I will call you on Skype when I get back from lunch, I’m just finishing up now. [import]uid: 226740 topic_id: 36084 reply_id: 143916[/import]

doesnt matter to me, I appreciate any help I can get. I added you to skype also.

EDIT:

Couple Screenshots of an error log if it helps


[import]uid: 89054 topic_id: 36084 reply_id: 143915[/import]

So after a few hours we figured out what was going on. I figure I would reply in case someone else is reading this forum having a similar issue. Long story short, I am developing a business style app that uses the tab bar widget and buttons widgets heavily. I had upgraded to the latest public release of corona, however never updated my code. That’s why we couldn’t find any lua errors, because essentially they were none. However, since widgets 2.0 uses a different syntax, it was causing weird lua errors that was not letting run properly on the android AVD or my device.

Hope this helps someone else. Plus a big thanks to dayaffe99 for helping me out. [import]uid: 89054 topic_id: 36084 reply_id: 144010[/import]

Devices are generally case sensitive.

if your file is named like:

myFile.lua

And you are requiring it like:

local myFile = require( "myfile" )  

it will work in the simulator but fail on device. Same goes for images, so double check your filenames and how you are inputting them into your code. [import]uid: 84637 topic_id: 36084 reply_id: 143354[/import]