Gamenetwork Sample App Issues When Building To Devices

When I build it for Android and play it on my Galaxy S3, it gives me an Error: “This application has been corrupted.”

When I build it for iOS and play it on my iPad Mini, it shows the initial dashboard screen (just the Corona logo on the top and an “X” in the top left), and then nothing else. Post highscore/unlock achievement show the pull-down image, but no text.

It runs great in the Simulator.  :frowning:

Anyone else have it working?

Have you looked for errors in either console log?

I am also getting that error when building for Android.

You need to use the command line command: 

[lua]

  adb logcat

[/lua]

and look for any errors.  If you don’t have this command, google “android debug bridge” and follow the various tutorials for your platform to install it.  All we know by the “corrupted” message is that there was an error on start up.

In build 1061, I didn’t see any errors except for

Error finding setting, default accessibility to not found: accessibility\_enabled 

I’m not sure if it’s even related, though. I can attach the whole huge log, but since CC’s been pulled from the latest daily builds, would it even be helpful?

Here’s hoping we’ll see a stable Corona Cloud soon…  :slight_smile: I’m really liking it, when it’s working.

I’d wait until we put a new sample app out.

Have you looked for errors in either console log?

I am also getting that error when building for Android.

You need to use the command line command: 

[lua]

  adb logcat

[/lua]

and look for any errors.  If you don’t have this command, google “android debug bridge” and follow the various tutorials for your platform to install it.  All we know by the “corrupted” message is that there was an error on start up.

In build 1061, I didn’t see any errors except for

Error finding setting, default accessibility to not found: accessibility\_enabled 

I’m not sure if it’s even related, though. I can attach the whole huge log, but since CC’s been pulled from the latest daily builds, would it even be helpful?

Here’s hoping we’ll see a stable Corona Cloud soon…  :slight_smile: I’m really liking it, when it’s working.

I’d wait until we put a new sample app out.

I get the same error with the game I just designed.

It was fine until I upgraded my Corona sdk to the latest. In fact, I have two different versions on two different machines. On my Simulator from last summer, the application compiles and runs on my android device fine. However, on the latest copy I get the error about default accessibility and the application is listed as corrupted.

I’m going to start looking into this now.

The exact error in the log says:

“E/Launcher(   425): Error fininding setting, default accessibility to not found: accessibility_enabled”

The accessibility was a bit of a false lead.

I managed to resolve my issue.

I am using Lua Glider, and I compiled with the

require “CiderDebugger”;

at the beginning of my main.lua file.

I did the following:

  1. removed the CiderDebugger line from my main.lua file.

  2. ran the project with the Lua Glider Build Main Project(F11) button (so Glider didn’t automatically add the CiderDebugger to my source code)

  3. Built for Android

Result: my application now runs without error.

It’s interesting that in the old Corona build the CiderDebugger didn’t cause the problem. Both Lua Gliders are up-to-date on both machines.

I don’t know conclusively, but I suspect that the difference might be related to permissions. The latest Corona sdk doesn’t have the default permissions of the old Corona.

There was an information line in my log that said the following:

… "CiderDebugger.lua:476: attempt to index local ‘udpSocket’ (a nil value)

I get the same error with the game I just designed.

It was fine until I upgraded my Corona sdk to the latest. In fact, I have two different versions on two different machines. On my Simulator from last summer, the application compiles and runs on my android device fine. However, on the latest copy I get the error about default accessibility and the application is listed as corrupted.

I’m going to start looking into this now.

The exact error in the log says:

“E/Launcher(   425): Error fininding setting, default accessibility to not found: accessibility_enabled”

The accessibility was a bit of a false lead.

I managed to resolve my issue.

I am using Lua Glider, and I compiled with the

require “CiderDebugger”;

at the beginning of my main.lua file.

I did the following:

  1. removed the CiderDebugger line from my main.lua file.

  2. ran the project with the Lua Glider Build Main Project(F11) button (so Glider didn’t automatically add the CiderDebugger to my source code)

  3. Built for Android

Result: my application now runs without error.

It’s interesting that in the old Corona build the CiderDebugger didn’t cause the problem. Both Lua Gliders are up-to-date on both machines.

I don’t know conclusively, but I suspect that the difference might be related to permissions. The latest Corona sdk doesn’t have the default permissions of the old Corona.

There was an information line in my log that said the following:

… "CiderDebugger.lua:476: attempt to index local ‘udpSocket’ (a nil value)