Device Build doesn't work without Internet

I have been testing my game on my android devices (galaxy tab 10.1 and samsung galaxy nexus) and I have run into a problem where if there is no connection to the internet available the application won’t load and just has a black screen. From what I can tell it isn’t even reaching main.lua.

Is there something about test builds on devices needing internet to function that I am unaware of or do I have a problem in build settings possibly? Any help to point me in the right direction here would be greatly appreciated.

-Build 2013.1137

If it helps I use the following permissions on android:

“android.permission.INTERNET”,

“android.permission.ACCESS_NETWORK_STATE”,

“android.permission.READ_PHONE_STATE”,

Hi there,

To debug this further, I’d suggest looking into the following:

  • Have you looked at the terminal output (using adb logcat) to see if there are any error messages?

  • Does your app use the network connection in any way during the initial startup?

  • Are you able to replicate this issue using a bare-bones app?

  • Does the same behavior happen in the Corona Simulator if you disable your computer’s internet connection?

  • Andrew

Thanks for the tips on how to locate the error. It seems to be an issue with the development environment I am using to develop and build from. If I build directly from corona simulator the problem goes away.

Great, glad you were able to resolve it.

  • Andrew

Hi there,

To debug this further, I’d suggest looking into the following:

  • Have you looked at the terminal output (using adb logcat) to see if there are any error messages?

  • Does your app use the network connection in any way during the initial startup?

  • Are you able to replicate this issue using a bare-bones app?

  • Does the same behavior happen in the Corona Simulator if you disable your computer’s internet connection?

  • Andrew

Thanks for the tips on how to locate the error. It seems to be an issue with the development environment I am using to develop and build from. If I build directly from corona simulator the problem goes away.

Great, glad you were able to resolve it.

  • Andrew