For me:
disabling [“plugin.appodeal”] and [“plugin.facebook.v4”] solves the problem.
Sure there is a problem with plugins.
For me:
disabling [“plugin.appodeal”] and [“plugin.facebook.v4”] solves the problem.
Sure there is a problem with plugins.
I have the same problem
(I have send the error report in “report a bug”)
plugin.facebook.v4 is the problem for me. Removing it allows compilation but leaves a broken app 
Please include vital information with these reports:
What version of Corona SDK are you building with?
Are you building on a Mac or PC?
What platform are you trying to build for?
Please copy/paste the entire error message(s) from the console log window that we open behind the simulator.
Is this an always fails or sporadic failure?
Thanks
Rob
3023 also tried 3012 with same issue
Mac
Android
Error: BuildID: 58790e18c43a5 Jan 13 05:27:55.286 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: 58790e18c43a5 --- Jan 13 05:27:55.286 Jan 13 05:27:55.334 Android build failed (5) after 5 seconds Jan 13 05:27:55.586 2017-01-13 17:27:55.585 Corona Simulator[1239:127427] logEvent: key: target 2017-01-13 17:27:55.585 Corona Simulator[1239:127427] logEvent: key: reason Jan 13 05:27:55.631 ERROR: Build Failed: A device build error occurred on the server. Error: BuildID: 58790e18c43a5 Error code: 5
Build 2948
Building on a Mac
Building for Android
BuildID: kCoronaBuild [A device build error occurred on the server. Error: BuildID: 587898d72a394 Jan 13 12:08:16.727 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: 587898d72a394 --- Jan 13 12:08:16.727 Jan 13 12:08:16.750 Android build failed (5) after 16 seconds Jan 13 12:08:17.101 ERROR: Build Failed: A device build error occurred on the server. Error: BuildID: 587898d72a394 Error code: 5
Rob, simply add plugin.facebook.v4 to hello world and try an android build and you will see the failure. Remove Facebook plugin and it will build.
enabling plugin.appodeal is also causing build errors on Android. IOS working just fine.
@adrianm, there are multiple reports with different issues, so I doubt it’s the Facebook plugin itself is the issue. Please provide there requested information so we can classify the reports.
Rob
@Rob, It is definitely the Facebook plugin for me. Add it to your hello world app and the build constantly fails. Remove it and the build works.
This is the most simple use case I can think of… Just trying to localise for you so engineering can replicate.
It crahses with this plugins:
[“plugin.admob”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true,iphone=false }
},
[“plugin.kidoz”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“CoronaProvider.native.popup.social”] =
{
publisherId = “com.coronalabs”
},
The build error (5) was sporadic for the past few weeks but after trying few more times the build would occur. Today after trying more than 5 times it is not building.
Here is the warning :
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: 5879176213fd3
Android build failed (5) after 15 seconds
I am using Corona Simulator in Windows 10, Corona Simulator : 2016.3016. Trying to build for Android both Amazon and Google Play but neither builds.
I am using following plugins in the build:
plugin.google.play.services
shared.android.support.v4
plugin.appodeal
plugin.flurry.analytics
CoronaProvider.native.popup.social
With all these plugins the build was successful yesterday and day before yesterday also, without any error. I had to build for around 3 to 5 times and all the build were successful in the first attempt. I only added an image and changed some logic in the game today and saw the build error today.
@Sheekore, if you’re using Corona build 3005 or later you should not be including plugin.google.play.services and I doubt shared.android.support.v4 is needed either. Please remove them and try again.
Rob
We have also a similiar problem with build on Android error 5. (we are using the appodeal plugin)
Everyone, please provide me all the answers I asked for above. At a minimum I need to know your build number…
@Rob, Thank you for letting me know this. I have removed both the plugins. The same error (5) still persists though.
Building for Android with Version 2017.3023 (2017.1.12).
Error code: 5
Plugins: admob, kidoz, plugin.google.iap.v3, CoronaProvider.native.popup.social
Hi,
It is same here, until today I was getting this error a few times and eventually it was working but today not a chance. I have tried to remove play services but did not help.
I have tried with daily builds 3023, 3007, 2972 and last stable build but all the same.
Here is the plugin settings in my project;
-- Plugins Section plugins = { ["plugin.math2d"] = { publisherId = "com.roaminggamer" }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = {iphone=true, android=true } }, ["plugin.hockey"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, ["plugin.openudid"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true }, }, ["plugin.googleAnalytics"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, ["plugin.iCloud"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, appletvos=true, osx=true } }, ["plugin.facebook.v4"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true} }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, },
version 2016.2906
PC
Android
20:35:52.527 Error:
20:35:52.527 BuildID: 58791df912b5f
20:35:52.527 ERROR: An error occurred during build. The server returned the following message:
20:35:52.527 —
20:35:52.527 A device build error occurred on the server.
20:35:52.527
20:35:52.527 Error:
20:35:52.527 BuildID: 58791df912b5f
20:35:52.527 —
20:35:52.636 Android build failed (5)
MacOS (3023, 3007, 2972 and 2916)
iOS working ok
Android always fails
Sample output.
Jan 13 09:56:53.597 Building android app for \*\*\*\*\*\*\*\*\*\*\*\*\*\* with 2016.3007 Jan 13 09:56:56.414 Using custom build id from app bundle: 00000 (AppSettings.lua) Jan 13 09:56:56.414 2017-01-13 21:56:56.413 Corona Simulator[6352:606086] logEvent: key: target 2017-01-13 21:56:56.413 Corona Simulator[6352:606086] logEvent: key: store Jan 13 09:56:57.037 BUILD SUCCESSFUL Total time: 0 seconds Jan 13 09:57:02.013 Excluding specified files from build: excluding: \*secret.txt BuildID: kCoronaBuild [A device build error occurred on the server. Error: BuildID: 587922fbc3af7 Jan 13 09:57:02.014 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: 587922fbc3af7 --- Jan 13 09:57:02.014 Jan 13 09:57:02.026 Android build failed (5) after 6 seconds Jan 13 09:57:02.300 2017-01-13 21:57:02.299 Corona Simulator[6352:606086] logEvent: key: target 2017-01-13 21:57:02.299 Corona Simulator[6352:606086] logEvent: key: reason Jan 13 09:57:02.303 ERROR: Build Failed: A device build error occurred on the server. Error: BuildID: 587922fbc3af7 Error code: 5 Jan 13 09:57:02.303