top of page

'no file' Corona Runtime Error

  • Jul 7, 2015
  • 1 min read

An interesting part of using an android SDK without an IDE like Android Studio is, there are no handrails or safety nets. Corona uses a text based editor not unlike Windows Notepad and the Corona Simulator is a very soft emulation of how an android APK would run, but it is not a full emulation. So everything can be all honky dory with simulating and debugging, but as soon as you put the APK on an actual device it can't even get through the first few lines of code.

Wel that's what happened with the first alpha of CATMOUSE. Corona Simulation worked just fine, everything looked fine in the code, but when I put the apk onto my device and started the app:

LEEROYYY JENKINS!!!!!

That was the full screen. I don't know who the heck jenkins is or why he's screwing up my app, but its not even loading the first file "simpleJoystick.lua". I checked and double checked, and ran simulation again and everything was checking out fine. As soon as I uploaded the next apk, it still showed the same thing.

After some googling [Get used to that if you're a new programmer. Google is your friend.] , it seems that the android resource file naming convention is a bit more strict than it seems to be on Android Studio. All resource files must be in lower case, cannot have spaces, and cannot start with a number.

Hooray! I get to change all of my file names and find all instances of them in code and change them too! Thank goodness for CTRL+F.

 
 
 

Comments


  • Instagram - Black Circle
  • LinkedIn - Black Circle
  • YouTube - Black Circle

 GAME OVER

© 2015 by ForestNympho Ltd Co. Proudly created with Wix.com

bottom of page