Runtime error in file - /User/jenkins/slaveroot/.../init.lua (not my code) - attempt to index a nil value

Can you post your exact error.  A copy/paste of any additional errors from your console log (adb logcat) would be great.

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

Rob

No that doesnt work either. Ever since I implemented expansion files I’ve been getting non-stop problems. when my apk on my local device I get completely blank screen. Also my terminal has a bunch of weird errors where assets are claimed to be missing (like another guy in this thread) when they are definitely not. My errors look like:

V/Corona  ( 9905): > Class.forName: network.LuaLoader
V/Corona  ( 9905): < Class.forName: network.LuaLoader
V/Corona  ( 9905): Loading via reflection: network.LuaLoader
I/Corona  ( 9905): Platform: SM-G925T / ARM Neon / 5.0.2 / Mali-T760 / OpenGL ES 3.1 / 2014.2511
V/Corona  ( 9905): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  ( 9905): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  ( 9905): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
I/Corona  ( 9905): WARNING: licensing.init() was already called for google.
I/Corona  ( 9905): Warning: audio.loadStream() failed to create stream ‘happy.mp3’
I/Corona  ( 9905): Could not read scores from     levelPlayable.txt    .
V/Corona  ( 9905): WARNING: Asset file “gameDevin2.png” does not exist.
I/Corona  ( 9905): Warning: Failed to find image ‘gameDevin2.png’
I/Corona  ( 9905): Runtime error
I/Corona  ( 9905): ?:0: attempt to index global ‘gameDevin2’ (a nil value)
I/Corona  ( 9905): stack traceback:
I/Corona  ( 9905):     ?: in function ‘method’
I/Corona  ( 9905):     /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:253: in function ‘dispatchEvent’
I/Corona  ( 9905):     /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/storyboard/storyboard.lua:1625: in function ‘gotoScene’
I/Corona  ( 9905):     ?: in main chunk

No that doesnt work either. Ever since I implemented expansion files I’ve been getting non-stop problems. when my apk on my local device I get completely blank screen. Also my terminal has a bunch of weird errors where assets are claimed to be missing (like another guy in this thread) when they are definitely not. My errors look like:

V/Corona  ( 9905): > Class.forName: network.LuaLoader
V/Corona  ( 9905): < Class.forName: network.LuaLoader
V/Corona  ( 9905): Loading via reflection: network.LuaLoader
I/Corona  ( 9905): Platform: SM-G925T / ARM Neon / 5.0.2 / Mali-T760 / OpenGL ES 3.1 / 2014.2511
V/Corona  ( 9905): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  ( 9905): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  ( 9905): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
I/Corona  ( 9905): WARNING: licensing.init() was already called for google.
I/Corona  ( 9905): Warning: audio.loadStream() failed to create stream ‘happy.mp3’
I/Corona  ( 9905): Could not read scores from     levelPlayable.txt    .
V/Corona  ( 9905): WARNING: Asset file “gameDevin2.png” does not exist.
I/Corona  ( 9905): Warning: Failed to find image ‘gameDevin2.png’
I/Corona  ( 9905): Runtime error
I/Corona  ( 9905): ?:0: attempt to index global ‘gameDevin2’ (a nil value)
I/Corona  ( 9905): stack traceback:
I/Corona  ( 9905):     ?: in function ‘method’
I/Corona  ( 9905):     /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:253: in function ‘dispatchEvent’
I/Corona  ( 9905):     /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/storyboard/storyboard.lua:1625: in function ‘gotoScene’
I/Corona  ( 9905):     ?: in main chunk

Well it’s not finding gameDevin2.png, apparently can’t read happy.mp3.  The gameDevin2.png file is creating an error that is crashing and since this is apparently in a storyboard module, the backtrace is just following back through the system.

Are these files in your expansion library?  Are you sure it’s getting downloaded?

Rob

Yes they are in my expansion library, at least I’m pretty sure they are, these files are in a Resource folder (which is actually a zip file named main.9.com.aol.benyemi.crs_rsc_src.zip) I have all 100 or so media resource files I made that are in there. When i build it on my local device and run it, it downloads the file (about 69.2 MB) but it doesn’t see any of my media resources and doesnt do anything, It only shows lua based images like newRect(). I’ve also include the media resource files unzipped in the main package folder like a normal game that is under 50 MB, but that doesnt seem to help run it on my local device either (however because of this I am able to run the game fine on the simulator). How exactly step by step am I supposed to run a big game on my local device, I’ve read the main instructions theyre clearly are not helping. Thanks so much