Build Error

I was able to successfully build my game for Google Play, but I’m getting a server error when attempting to build for Nook and Amazon:

NOOK ERROR

============================================================

Using custom Build Id d5366633a696f85c7d60d1316fb23540

ERROR: An error occurred during build. The server returned the following message:


A device build error occurred on the server.

BuildID: 52e61cc0867be

Error:


AMAZON ERROR

============================================================

Using custom Build Id d5366633a696f85c7d60d1316fb23540

ERROR: An error occurred during build. The server returned the following message:


A device build error occurred on the server.

BuildID: 52e61d551b948

Error:


============================================================

Just to check, I tried building another project that I’ve already published to these app stores.  The build process for Amazon and Nook went fine.  So sadly (as I know its going to be hard to debug), the issue appears to be related to my project.  

I looked at the config.lua and build.settings and made sure they were identical for the two projects (the only difference is the custom font definition).   So it doesn’t appear to be a config issue.

Lil’ help??  

Thanks in advance!   :D  :D  :smiley:

Hey Corona people,

I’m still stuck on my build for Amazon and Nook.  With no useful error message coming back from Corona’s servers, I’m unsure how to fix this.  

Please advise!

Scott D Brooks

p.s. I realized I didn’t have all the icons defined in the config file, so I created those… I thought maybe that was causing the error. Unfortunately, the error still persists.  

Could it be related to my custom font?  Without an error message, I’m just taking a stab in the dark…

p.p.s. We’re running an older version of Corona, as this game has been years in the making.  Running 2013.1244…  I haven’t wanted to tackle any upgrade issues with the latest version due to Graphics 2.0 changes.  That’s going to break a whole lot of things and I just want this out the door.  Again, my other game builds fine, so it doesn’t appear to be related to the Corona, but something with my App.  I just don’t know WHAT since there is no error.

Opened a support request ticket as well…

I don’t have any help for you as far as what could be causing the problem, but I will say that my app was built with 1202, and I started using 1260 and had no problems.  You might try moving to 1260 as the last of the Graphics 1.0 builds.

Also, as I recall, when you do a build, you can look in the Corona Simulator Output window (on Windows) or launch the Simulator via the Corona Terminal (on OS X) and you get some error messages for the build process there.  Not sure if that is what you reported in your original message or not.  But just wanted to point that out in case you were unaware.

Lastly, you could just try removing the custom font from your code and see if that fixes the problem.  If it does, then you narrowed it down and can verify that you have that all set up correctly.  If it still doesn’t build with the custom font code/file removed, then it’s something else.

Hey there gDog,

Thanks for lending a hand.  You’re right, I did paste in the console output in my first post.  As you can see, it’s not all that helpful, as there is no error message.  If I had some message that could point me to WHY this is occurring, I’d have probably already fixed it by now.  :(

Anyhow. I’m not sure that updating to 1260 will make a difference, since I can actually build my other project for Amazon and Nook just fine.  So I’m sure it’s something odd with my project.  In the end, what I’ll have to end up doing is stripping out files from my project and see which files are the cause of the build error… since i don’t get any useful info from the error msg.

The only issues I could imagine might be the problem:

  • use of directories, something I did not do in my other project

  • custom font (did this in the other project, but I’m seeing some rendering issues on my Google Play build)

  • Use of the Facebook plugin (only time I’ve ever used it in a project)

Anyhow, thanks for the help.  I’ll post when I sort it out.  

Regards,

Scott D Brooks

Turned out to be that the name of my game was the problem…  ha!

David & Goliath

the use of “&” caused some communication issue with the server… but only for those two platforms.   The work-around is to use “&” instead for those builds.

Scott D Brooks

Odd.  How did you get around that?

Tom is looking into the fix on the server-side.  I’m guessing the build is going a GET to Corona’s servers with & separating params in the URL, so they’ll probably need to do a fix on the simulator side… just a guess though.  Hoping its some easy server-side fix.  

For now, I will just use a different character, like “n” in “David n Goliath”.

Thanks again for trying to help GDog!

Btw, the work-around, if you want to use &, is to use “&” instead for Amazon and Nook.  If you build for Google Play, you can use & straight up.

Hey Corona people,

I’m still stuck on my build for Amazon and Nook.  With no useful error message coming back from Corona’s servers, I’m unsure how to fix this.  

Please advise!

Scott D Brooks

p.s. I realized I didn’t have all the icons defined in the config file, so I created those… I thought maybe that was causing the error. Unfortunately, the error still persists.  

Could it be related to my custom font?  Without an error message, I’m just taking a stab in the dark…

p.p.s. We’re running an older version of Corona, as this game has been years in the making.  Running 2013.1244…  I haven’t wanted to tackle any upgrade issues with the latest version due to Graphics 2.0 changes.  That’s going to break a whole lot of things and I just want this out the door.  Again, my other game builds fine, so it doesn’t appear to be related to the Corona, but something with my App.  I just don’t know WHAT since there is no error.

Opened a support request ticket as well…

I don’t have any help for you as far as what could be causing the problem, but I will say that my app was built with 1202, and I started using 1260 and had no problems.  You might try moving to 1260 as the last of the Graphics 1.0 builds.

Also, as I recall, when you do a build, you can look in the Corona Simulator Output window (on Windows) or launch the Simulator via the Corona Terminal (on OS X) and you get some error messages for the build process there.  Not sure if that is what you reported in your original message or not.  But just wanted to point that out in case you were unaware.

Lastly, you could just try removing the custom font from your code and see if that fixes the problem.  If it does, then you narrowed it down and can verify that you have that all set up correctly.  If it still doesn’t build with the custom font code/file removed, then it’s something else.

Hey there gDog,

Thanks for lending a hand.  You’re right, I did paste in the console output in my first post.  As you can see, it’s not all that helpful, as there is no error message.  If I had some message that could point me to WHY this is occurring, I’d have probably already fixed it by now.  :(

Anyhow. I’m not sure that updating to 1260 will make a difference, since I can actually build my other project for Amazon and Nook just fine.  So I’m sure it’s something odd with my project.  In the end, what I’ll have to end up doing is stripping out files from my project and see which files are the cause of the build error… since i don’t get any useful info from the error msg.

The only issues I could imagine might be the problem:

  • use of directories, something I did not do in my other project

  • custom font (did this in the other project, but I’m seeing some rendering issues on my Google Play build)

  • Use of the Facebook plugin (only time I’ve ever used it in a project)

Anyhow, thanks for the help.  I’ll post when I sort it out.  

Regards,

Scott D Brooks

Turned out to be that the name of my game was the problem…  ha!

David & Goliath

the use of “&” caused some communication issue with the server… but only for those two platforms.   The work-around is to use “&” instead for those builds.

Scott D Brooks

Odd.  How did you get around that?

Tom is looking into the fix on the server-side.  I’m guessing the build is going a GET to Corona’s servers with & separating params in the URL, so they’ll probably need to do a fix on the simulator side… just a guess though.  Hoping its some easy server-side fix.  

For now, I will just use a different character, like “n” in “David n Goliath”.

Thanks again for trying to help GDog!

Btw, the work-around, if you want to use &, is to use “&” instead for Amazon and Nook.  If you build for Google Play, you can use & straight up.