My project works perfectly fine with simulator, however when deployed to a test android device it gives the follow error:
11-21 02:42:10.046 5649 5687 I Corona : ERROR: Runtime error
11-21 02:42:10.046 5649 5687 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/composer/composer.lua:1451: ?:0: attempt to index a nil value
11-21 02:42:10.046 5649 5687 I Corona : stack traceback:
11-21 02:42:10.046 5649 5687 I Corona : [C]: in function ‘error’
11-21 02:42:10.046 5649 5687 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/composer/composer.lua:1451: in function ‘gotoScene’
11-21 02:42:10.046 5649 5687 I Corona : ?: in function ‘func’
11-21 02:42:10.046 5649 5687 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:186: in function </Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:169>
The problem is the project works in simulator without any hiccups. Strangely enough, I saw forum post from years ago reported similar error and someone suggested it might be caused by a plugin. I was using GPGS and GBCDataCabinet only.
I removed GBCDataCabinet from my code and my program works again with the device. No idea why is it so.
The problem is the project works in simulator without any hiccups. Strangely enough, I saw forum post from years ago reported similar error and someone suggested it might be caused by a plugin. I was using GPGS and GBCDataCabinet only.
I removed GBCDataCabinet from my code and my program works again with the device. No idea why is it so.