I am also having the same issue. Yesterday the build was fine. There were no changes made in the build settings of mine.
But the samples project that came with corona were building fine.
Build id: 2018.3237
The following message shows up with Build error#5 :
BuildID: kCoronaBuild [A device build error occurred on the server. Error: BuildID: 5ab00a549fbe4 ERROR: An error occurred during build (corona.build.7). The server returned the following message: --- A device build error occurred on the server. Error: BuildID: 5ab00a549fbe4 --- Android build failed (5) after 22 seconds
Just for clarity here is the build.settings file of mine:
settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_FINE\_LOCATION", "com.android.vending.CHECK\_LICENSE", "android.permission.VIBRATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, googlePlayGamesAppId = "App id removed here", supportsScreens = { smallScreens = true, normalScreens = true, largeScreens = true, xlargeScreens = false, }, }, plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = {android = true} }, ["plugin.OneSignal"] = { publisherId = "com.onesignal", }, ['plugin.toast'] = { publisherId = 'com.spiralcodestudio' }, -- Base ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, -- Interstitial ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MillenialMedia'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Ogury'] = { publisherId = 'com.coronalabs' }, } }