Build error #5 with Legacy Corona Simulator

Hey Corona Team,

I’ve been a long time subscriber for 3+ years, but our business never took off, so we let our subscription languish last year.  Thankfully you’ve allowed simulator builds for FREE members now.  So I’m pulling up our legacy code here to update a few things and am running into a build problem.

This doesn’t seem to be a general problem with the legacy simulator, since my other game is building just fine on the same simulator and uses the exact same plugins and build settings.

[Build Error #5] A device build error occurred on the server. BuildID: 553134eb95387 Error:

Using Corona Simulator 2013.1260 (2013.11.13)

FYI, I tried this months back in Feb. and saw the same issue.  I thought it might be a temporary server hiccup and thought to wait it out.  I checked today and it’s still going on.

If I could see some more information, I could tell what the error is and figure out what differs between this game and the one that’s building without a problem.

Is it possible to look up the BuildID on the server and see the error?

Thanks Corona!

Is there a way to see the error on the server?  I’d appreciate a bit of help.  Thanks!

You cannot deploy to Apple with that build.  You need at least 2545.  You cannot use AdMob ads without using at least 2264 on Android.  Build error 5 is generally a problem with communications between your build process running on your computer and our servers, and typically plugins are involved. 

Check to make sure you’re not running through a proxy (Windows loves to do this).  See if a particular plugin is causing the issue.  Though honestly, moving to a more modern version would be worth the effort.

Rob

Hey Rob,

Thanks for the answer.  As I mentioned, I’m able to build a game with the exact same plugins and build config as the one that’s failing.  That also means my network connectivity is working fine as well.

FYI, in case it matters, I’m trying to build on Windows for Amazon, not Apple.

If 2545 supports Graphics 1.0, I’m happy to move to that, but at the moment 2+ years of graphics work was sunk into Graphics 1.0.  So without moving to Graphics 2.0 (which I’m unwilling to do), is there a way I can get this code to build for Amazon on a more recent legacy graphics 1.0 simulator?

Thanks.

Basically I’m completely married to the Loqheart’s Spriteloq platform, which died some time ago.   Which is why I’m we’re still in G 1.0.

2454 is a Graphics 2.0 build.  I’ll ask and see if they can find anything in the logs for that build.  If one builds but the other does not, what is different between the two?  What things do you have in your build.settings?

Thanks for looking into the logs.  That’ll help a lot.  

settings = { orientation = { default ="landscapeRight", content ="landscapeRight", supported = { "landscapeLeft","landscapeRight" } }, content = { xAlign = "center", yAlign = "center", antialias = true, fps = 30 }, plugins = { ["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"]=true } }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } } }, android = { usesPermissions = { "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.VIBRATE", "android.permission.INTERNET", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE" } }, iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon-ldpi.png", "Icon-mdpi.png", "Icon-hdpi.png", "Icon-xhdpi.png", "Icon-xxhdpi.png", "Icon-hdpi@2x.png", "Icon-mdpi@60.png", "Icon-mdpi@76.png", "Icon-hdpi@120.png", "Icon-hdpi@152.png" }, UIAppFonts = { "SnapITC.ttf" } } } } 

As I paste this here, I notice that my font is different (that’s it), so I removed that and tried a build.  That didn’t work either.

Using custom Build Id 69d47d1ba9be509f9c42ceb6c37f0d37 ERROR: An error occurred during build. The server returned the following message : --- A device build error occurred on the server. BuildID: 55341de7f0af2 Error: ---

Can you try replacing the & in your app name with & and see if that fixes it?  I think you’re hitting a bug that’s fixed in a new version related to certain characters breaking android builds.

Viola!  Thanks Sean!  That did the trick!

Is there a way to see the error on the server?  I’d appreciate a bit of help.  Thanks!

You cannot deploy to Apple with that build.  You need at least 2545.  You cannot use AdMob ads without using at least 2264 on Android.  Build error 5 is generally a problem with communications between your build process running on your computer and our servers, and typically plugins are involved. 

Check to make sure you’re not running through a proxy (Windows loves to do this).  See if a particular plugin is causing the issue.  Though honestly, moving to a more modern version would be worth the effort.

Rob

Hey Rob,

Thanks for the answer.  As I mentioned, I’m able to build a game with the exact same plugins and build config as the one that’s failing.  That also means my network connectivity is working fine as well.

FYI, in case it matters, I’m trying to build on Windows for Amazon, not Apple.

If 2545 supports Graphics 1.0, I’m happy to move to that, but at the moment 2+ years of graphics work was sunk into Graphics 1.0.  So without moving to Graphics 2.0 (which I’m unwilling to do), is there a way I can get this code to build for Amazon on a more recent legacy graphics 1.0 simulator?

Thanks.

Basically I’m completely married to the Loqheart’s Spriteloq platform, which died some time ago.   Which is why I’m we’re still in G 1.0.

2454 is a Graphics 2.0 build.  I’ll ask and see if they can find anything in the logs for that build.  If one builds but the other does not, what is different between the two?  What things do you have in your build.settings?

Thanks for looking into the logs.  That’ll help a lot.  

settings = { orientation = { default ="landscapeRight", content ="landscapeRight", supported = { "landscapeLeft","landscapeRight" } }, content = { xAlign = "center", yAlign = "center", antialias = true, fps = 30 }, plugins = { ["plugin.amazon.iap"] = { publisherId = "com.amazon", supportedPlatforms = { ["android-kindle"]=true } }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } } }, android = { usesPermissions = { "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.VIBRATE", "android.permission.INTERNET", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE" } }, iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon-ldpi.png", "Icon-mdpi.png", "Icon-hdpi.png", "Icon-xhdpi.png", "Icon-xxhdpi.png", "Icon-hdpi@2x.png", "Icon-mdpi@60.png", "Icon-mdpi@76.png", "Icon-hdpi@120.png", "Icon-hdpi@152.png" }, UIAppFonts = { "SnapITC.ttf" } } } } 

As I paste this here, I notice that my font is different (that’s it), so I removed that and tried a build.  That didn’t work either.

Using custom Build Id 69d47d1ba9be509f9c42ceb6c37f0d37 ERROR: An error occurred during build. The server returned the following message : --- A device build error occurred on the server. BuildID: 55341de7f0af2 Error: ---

Can you try replacing the & in your app name with & and see if that fixes it?  I think you’re hitting a bug that’s fixed in a new version related to certain characters breaking android builds.

Viola!  Thanks Sean!  That did the trick!