[Build error #5]

Tonight I’ve suddenly started to get the follwing error message when building:

There are no more info in the simulator console, only these lines:

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


An unknown error occurred during the build]


Android build failed (5)

How on earth should proceed to find out what is wrong?

Same for me, suddenly I cannot build iOS or Android apps anymore.

Using Mac OSX 10.9.5, daily build Version 2015.2571 (2015.2.26).

I just did a build for both iOS and Android with 2014.2545 and did not encounter an issue.  But the app isn’t using a lot of plugins. 

Can you confirm this is still an issue?  Can you post your build.settings and verify the version you’re building with (@avlepel, you do not need to verify version as you provided the info…)

The build error #5 disappeared just as mysteriously as it appeard for me today. No change in the source code whatsoever. It must be some sort of server side hickup?

Hi Rob,

I tried again in the morning (German time) with Version 2015.2571 (2015.2.26), and the problem was still there.

So I used the time to update to OS X 10.10 and when I tried a few hours later (now with Yosemite) the problem was gone.

Because of this I thought it might be OS related, but after reading runewinse’s answer I guess there really was a problem with the server.

But - on the sunny side - I can now build again, so in a few minutes I will have forgotten all about it when I start to code again.  :-D

Best,

Andreas

P.S.:

But maybe this helps:

[lua]

settings =

{

orientation =

{

default =“portrait”,

supported =

{

“portrait”,“portraitUpsideDown”

},

},

excludeFiles = 

{

all = { “*secret.txt” },

iphone = { “artwork/*”, “Icon-*dpi.png” },

android = { “artwork/**”, “Icon-60*.png”, “Icon-72*.png”, “Icon-76*.png”, “Icon-Small*.png”, “LaunchScreen.nib”, “Icon.png”, “Icon@2x.png”, “HelpVideo.mp4” }

},

iphone =

{

components = {},

plist =

{

UIAppFonts = 

{

“mostra_nuova_regular.ttf”,

“PTN57F_0.ttf”,

“Freeze1Jap.ttf”,

},

UIApplicationExitsOnSuspend = false,

FacebookAppID = “xxxxxxxxxxxxxxxxxxx”,

CFBundleURLTypes =

{

{

CFBundleURLSchemes =

{

“xxxxxxxxxxxxxxxxxxxx”,

},

},

},

CFBundleDisplayName = “Freeze!”,

CFBundleLocalizations = 

{

“en”,

“de”,

“zh”,

“fr”,

“it”,

“ja”,

“ko”,

“pt”,

“ru”,

“es”,

“th”,

},

UIPrerenderedIcon = true,

CFBundleIconFile = “Icon.png”,

CFBundleIconFiles = 

{

“Icon.png” ,

“Icon@2x.png” ,

“Icon-60.png” ,

“Icon-60@2x.png” ,

“Icon-60@3x.png”,

“Icon-72.png” ,

“Icon-72@2x.png” ,

“Icon-76.png” ,

“Icon-76@2x.png” ,

“Icon-Small.png” ,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

“Icon-Small-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-40@3x.png”,

“Icon-Small-50.png” ,

“Icon-Small-50@2x.png” ,

},

UILaunchStoryboardName = “LaunchScreen”,

},

},

android =

{

largeHeap = true,

usesPermissions =

{

“android.permission.INTERNET”,

“com.android.vending.BILLING”,

},

googlePlayGamesAppId = “xxxxxxxxxxxxxx”,

},

plugins =

{

– key is the name passed to Lua’s ‘require()’

[“CoronaProvider.gameNetwork.google”] =

{

– required

publisherId = “com.coronalabs”,

supportedPlatforms = { android = true },

},

        – key is the name passed to Lua’s ‘require()’

        [“plugin.google.iap.v3”] =

        {

            – required

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android = true },

        },

– key is the name passed to Lua’s ‘require()’

[“plugin.amazon.iap”] =

{

   – required

   publisherId = “com.amazon”,

   supportedPlatforms = { [“android-kindle”] = true },

},

        – key is the name passed to Lua’s ‘require()’

        [“plugin.gamecircle”] =

        {

            – required

            publisherId = “COM_INNOVATIVELEISURE”,

   supportedPlatforms = { [“android-kindle”] = true },

        },

– GameCenter moved to plugin for iOS with daily build 2455 

[“CoronaProvider.gameNetwork.apple”] =

{

publisherId = “com.coronalabs”,

supportedPlatforms = { iphone=true, [“iphone-sim”]=true },

},

},

}[/lua]

I’m not aware of any outages in the last 24 hours, but it’s the Internet and hiccups can happen.

I’m glad you’re able to build again.

Rob

So what does #5 mean? If it was the “internet” shouldn’t the error message have been “couldn’t connect to server” or similar?

When such things happen, it’s would be really helpful to know if the problem was on the server side (or general network problem). Last night I spent a fair amount of time trying to figure out what kind of mistake I had done. A complete waste of time as it turned out.

It’s a general error message but most of the causes are network related.

Rob

Same for me, suddenly I cannot build iOS or Android apps anymore.

Using Mac OSX 10.9.5, daily build Version 2015.2571 (2015.2.26).

I just did a build for both iOS and Android with 2014.2545 and did not encounter an issue.  But the app isn’t using a lot of plugins. 

Can you confirm this is still an issue?  Can you post your build.settings and verify the version you’re building with (@avlepel, you do not need to verify version as you provided the info…)

The build error #5 disappeared just as mysteriously as it appeard for me today. No change in the source code whatsoever. It must be some sort of server side hickup?

Hi Rob,

I tried again in the morning (German time) with Version 2015.2571 (2015.2.26), and the problem was still there.

So I used the time to update to OS X 10.10 and when I tried a few hours later (now with Yosemite) the problem was gone.

Because of this I thought it might be OS related, but after reading runewinse’s answer I guess there really was a problem with the server.

But - on the sunny side - I can now build again, so in a few minutes I will have forgotten all about it when I start to code again.  :-D

Best,

Andreas

P.S.:

But maybe this helps:

[lua]

settings =

{

orientation =

{

default =“portrait”,

supported =

{

“portrait”,“portraitUpsideDown”

},

},

excludeFiles = 

{

all = { “*secret.txt” },

iphone = { “artwork/*”, “Icon-*dpi.png” },

android = { “artwork/**”, “Icon-60*.png”, “Icon-72*.png”, “Icon-76*.png”, “Icon-Small*.png”, “LaunchScreen.nib”, “Icon.png”, “Icon@2x.png”, “HelpVideo.mp4” }

},

iphone =

{

components = {},

plist =

{

UIAppFonts = 

{

“mostra_nuova_regular.ttf”,

“PTN57F_0.ttf”,

“Freeze1Jap.ttf”,

},

UIApplicationExitsOnSuspend = false,

FacebookAppID = “xxxxxxxxxxxxxxxxxxx”,

CFBundleURLTypes =

{

{

CFBundleURLSchemes =

{

“xxxxxxxxxxxxxxxxxxxx”,

},

},

},

CFBundleDisplayName = “Freeze!”,

CFBundleLocalizations = 

{

“en”,

“de”,

“zh”,

“fr”,

“it”,

“ja”,

“ko”,

“pt”,

“ru”,

“es”,

“th”,

},

UIPrerenderedIcon = true,

CFBundleIconFile = “Icon.png”,

CFBundleIconFiles = 

{

“Icon.png” ,

“Icon@2x.png” ,

“Icon-60.png” ,

“Icon-60@2x.png” ,

“Icon-60@3x.png”,

“Icon-72.png” ,

“Icon-72@2x.png” ,

“Icon-76.png” ,

“Icon-76@2x.png” ,

“Icon-Small.png” ,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

“Icon-Small-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-40@3x.png”,

“Icon-Small-50.png” ,

“Icon-Small-50@2x.png” ,

},

UILaunchStoryboardName = “LaunchScreen”,

},

},

android =

{

largeHeap = true,

usesPermissions =

{

“android.permission.INTERNET”,

“com.android.vending.BILLING”,

},

googlePlayGamesAppId = “xxxxxxxxxxxxxx”,

},

plugins =

{

– key is the name passed to Lua’s ‘require()’

[“CoronaProvider.gameNetwork.google”] =

{

– required

publisherId = “com.coronalabs”,

supportedPlatforms = { android = true },

},

        – key is the name passed to Lua’s ‘require()’

        [“plugin.google.iap.v3”] =

        {

            – required

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android = true },

        },

– key is the name passed to Lua’s ‘require()’

[“plugin.amazon.iap”] =

{

   – required

   publisherId = “com.amazon”,

   supportedPlatforms = { [“android-kindle”] = true },

},

        – key is the name passed to Lua’s ‘require()’

        [“plugin.gamecircle”] =

        {

            – required

            publisherId = “COM_INNOVATIVELEISURE”,

   supportedPlatforms = { [“android-kindle”] = true },

        },

– GameCenter moved to plugin for iOS with daily build 2455 

[“CoronaProvider.gameNetwork.apple”] =

{

publisherId = “com.coronalabs”,

supportedPlatforms = { iphone=true, [“iphone-sim”]=true },

},

},

}[/lua]

I’m not aware of any outages in the last 24 hours, but it’s the Internet and hiccups can happen.

I’m glad you’re able to build again.

Rob

So what does #5 mean? If it was the “internet” shouldn’t the error message have been “couldn’t connect to server” or similar?

When such things happen, it’s would be really helpful to know if the problem was on the server side (or general network problem). Last night I spent a fair amount of time trying to figure out what kind of mistake I had done. A complete waste of time as it turned out.

It’s a general error message but most of the causes are network related.

Rob