Build failures

Hi Corona

I’ve been getting random build failures for the past few days (using version 3012) and then all of a sudden it will build just fine.  It has just failed twice in a row but the third time it compiled.

This is what I get in the log on the most recent failures

14:18:44.633  Using custom build id from app bundle: 00000 (AppSettings.lua)

14:18:44.633  Using custom Build Id 00000

14:18:47.954  BuildID: kCoronaBuild [A device build error occurred on the server. 

14:18:47.954  Error: 

14:18:47.954  BuildID: 58739bc6724b7

14:18:47.954  ERROR: An error occurred during build (corona.build.7). The server returned the following message:

14:18:47.954  A device build error occurred on the server. 

14:18:47.954  Error: 

14:18:47.954  BuildID: 58739bc6724b7

14:18:48.079  Android build failed (5) after 4 seconds

14:19:20.132  Using custom build id from app bundle: 00000 (AppSettings.lua)

14:19:20.132  Using custom Build Id 00000

14:19:24.752  BuildID: kCoronaBuild [A device build error occurred on the server. 

14:19:24.752  Error: 

14:19:24.752  BuildID: 58739be9d3671

14:19:24.752  ERROR: An error occurred during build (corona.build.7). The server returned the following message:

14:19:24.752  A device build error occurred on the server. 

14:19:24.752  Error: 

14:19:24.752  BuildID: 58739be9d3671

14:19:24.876  Android build failed (5) after 4 seconds

and a 30s later it works?

14:19:53.843  Using custom Build Id 00000

14:20:39.039  BuildID: 58739c0b864ce

14:21:12.063  Android build succeeded in 79 seconds

14:22:12.851  applicationResume

Hopefully you can see something from the build IDs?

Thanks

Adrian

It happens same to me when trying to do  iOs build.

I tried to build iOs app 7-10 days ago and it failed, no luck.

I thought Corona servers will start working normally, but the same thing happens today:

Jan 09 03:42:13.358 Building ios app for xxxxxx.com with 2016.2871

Jan 09 03:42:17.098 Using custom build id from app bundle: 00000 (AppSettings.lua)

Jan 09 03:43:17.102 BuildID: 5873a15498029

Jan 09 03:43:22.454 ERROR: Unexpected empty response from build server

Jan 09 03:43:22.992 iOS build failed (5)

Jan 09 03:43:23.237 ERROR: Build Failed: ERROR: Unexpected empty response from build server

@ CORONA STAFF:  Can you please help?

Many thanks.

Ivan

We are aware of the random build failures and are looking to find the cause. So far, it seems that you can try again and it works. Is anyone seeing continuous build errors?

Rob

Hi Rob,

I am unable to do iOs build for last 10 days.

Tried to re-authorize Corona, no help (always the same error - as said above).

I am using latest daily build on my Mac.

Tried at least 10 times in last 10 days…

Ivan

Then you are having a different problem than people having intermittent build errors.

My first suggestion is to update to the latest public build 2992.

Next, try building the “HelloWorld” sample app we ship with Corona unchanged.

And after that, we will want to see your build.settings file.

Rob

Hello World builds OK with public build 2992.

I will have to look into my build.settings file more closely.

Many thanks Rob!

Ivan

Rob, any idea on a timeline for a fix?  This has been ongoing for days now and is frustrating when doing lots of device builds prior to a deployment.

I am just about to update my live apps and am worried that there might be some erroneous build errors?

Have you considered using Live builds to do device testing without constantly rebuilding?

Rob

I have 6 different Android devices I test with; all different specs and screen sizes.  Everything from hdpi to xxxdpi so I’m not sure that would help?

On a different note.  My config.lua sets a 480x800 resolution and uses 1.5x retina images.  Seems people can still download my app if their screen resolution is 320x480.  Although Corona does downscale they always leave bad reviews (pixelation, memory issues, etc.).  Is there anyway to limit downloads based on native device resolution on Android?  Basically, I’d like to block availability on any resolution less than 480x800.

Thanks

Actually that’s the beauty of Live Builds. It will update all of them. The only time you need to do a physical build is if you’ve changed config.lua or build.settings. Until you’re ready to do your release build version.

You should be able to use something like this:

https://developer.android.com/guide/practices/screens-distribution.html

and

https://forums.coronalabs.com/topic/23908-supported-screen-manifest-android/

and you should be able to get the right things in build.settings to limit screen sizes.

Rob

Rob,

It seems like including appodeal in build.settings is causing “iOS build failed (5)

When I comment out appodeal section in build.settings, and comment out showing ads further in game.lua, my game builds OK.

settings = {     orientation =     {         default = "landscapeRight",         supported = { "landscapeLeft", "landscapeRight" }     }, --[[    plugins =     {         ["plugin.appodeal"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true, appletvos=true }         },     }, ]]-- }

NOTE: I installed latest public Build 2016.2992. 

Can anyone confirm appodeal plugin is causing iOs build failed (5) (blank response from server) ?

Many thanks.

Ivan

It happens same to me when trying to do  iOs build.

I tried to build iOs app 7-10 days ago and it failed, no luck.

I thought Corona servers will start working normally, but the same thing happens today:

Jan 09 03:42:13.358 Building ios app for xxxxxx.com with 2016.2871

Jan 09 03:42:17.098 Using custom build id from app bundle: 00000 (AppSettings.lua)

Jan 09 03:43:17.102 BuildID: 5873a15498029

Jan 09 03:43:22.454 ERROR: Unexpected empty response from build server

Jan 09 03:43:22.992 iOS build failed (5)

Jan 09 03:43:23.237 ERROR: Build Failed: ERROR: Unexpected empty response from build server

@ CORONA STAFF:  Can you please help?

Many thanks.

Ivan

We are aware of the random build failures and are looking to find the cause. So far, it seems that you can try again and it works. Is anyone seeing continuous build errors?

Rob

Hi Rob,

I am unable to do iOs build for last 10 days.

Tried to re-authorize Corona, no help (always the same error - as said above).

I am using latest daily build on my Mac.

Tried at least 10 times in last 10 days…

Ivan

Then you are having a different problem than people having intermittent build errors.

My first suggestion is to update to the latest public build 2992.

Next, try building the “HelloWorld” sample app we ship with Corona unchanged.

And after that, we will want to see your build.settings file.

Rob

Hello World builds OK with public build 2992.

I will have to look into my build.settings file more closely.

Many thanks Rob!

Ivan

Rob, any idea on a timeline for a fix?  This has been ongoing for days now and is frustrating when doing lots of device builds prior to a deployment.

I am just about to update my live apps and am worried that there might be some erroneous build errors?

Have you considered using Live builds to do device testing without constantly rebuilding?

Rob

I have 6 different Android devices I test with; all different specs and screen sizes.  Everything from hdpi to xxxdpi so I’m not sure that would help?

On a different note.  My config.lua sets a 480x800 resolution and uses 1.5x retina images.  Seems people can still download my app if their screen resolution is 320x480.  Although Corona does downscale they always leave bad reviews (pixelation, memory issues, etc.).  Is there anyway to limit downloads based on native device resolution on Android?  Basically, I’d like to block availability on any resolution less than 480x800.

Thanks

Actually that’s the beauty of Live Builds. It will update all of them. The only time you need to do a physical build is if you’ve changed config.lua or build.settings. Until you’re ready to do your release build version.

You should be able to use something like this:

https://developer.android.com/guide/practices/screens-distribution.html

and

https://forums.coronalabs.com/topic/23908-supported-screen-manifest-android/

and you should be able to get the right things in build.settings to limit screen sizes.

Rob