Build Failed: Error code 5

Hey gents, 

Was setting up a hash key for the facebook developer console and next thing I know I can’t build anything for android (including the hello world app) tried updating to the most recent daily build, tried using a real keystore rather than the debug keystore, tried uninstalling/reinstalling, nothing I’ve seen on the forums has helped as of yet so to you I turn.

This is my console output:

Using java version “1.8.0_31”

                    Java™ SE Runtime Environment (build 1.8.0_31-b13)

                    Java HotSpot™ 64-Bit Server VM (build 25.31-b07, mixed mode)

Jul 20 11:11:33.075 Building android app for bcdel89@yahoo.com with 2016.2914

Jul 20 11:11:47.903 Using custom build id from app bundle: 00000 (AppSettings.lua)

Jul 20 11:11:48.940 BUILD SUCCESSFUL

                    Total time: 0 seconds

Jul 20 11:11:50.145 Excluding specified files from build: 

                       excluding: Icon.png

                       excluding: Icon-Small-*.png

                       excluding: Icon*@2x.png

                    BuildID: kCoronaBuild [Error: Could not generate corona certificate: /home/ansca-web/public_html/deploybot.developer.anscamobile.com/releases/1468969456/sites/all/modules/services/services/corona_service/cert_gen_only.sh 395917

Jul 20 11:11:50.145 ERROR: An error occurred during build (corona.build.7). The server returned the following message:

                    —

                    Error: Could not generate corona certificate: /home/ansca-web/public_html/deploybot.developer.anscamobile.com/releases/1468969456/sites/all/modules/services/services/corona_service/cert_gen_only.sh 395917

                    —

Jul 20 11:11:50.145 

Jul 20 11:11:50.165 Android build failed (5) after 2 seconds

Jul 20 11:11:50.368 ERROR: Build Failed: Error: Could not generate corona certificate: /home/ansca-web/public_html/deploybot.developer.anscamobile.com/releases/1468969456/sites/all/modules/services/services/corona_service/cert_gen_only.sh 395917

                    

                    Error code: 5

[lua]

settings =

{

    plugins =

    {

        [“plugin.facebook.v4”] =

        {

            publisherId = “com.coronalabs”

        },

    },

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”, },

},

– iOS Section

iphone =

{

plist =

{

   CoronaWindowMovesWhenKeyboardAppears = true,

            NSLocationWhenInUseUsageDescription = “This app uses maps.”,

UIStatusBarHidden = false,

UIPrerenderedIcon = true, – set to false for “shine” overlay

             – Whitelist Facebook Servers for Network Requests

            NSAppTransportSecurity =

            {

                NSExceptionDomains =

                {

                    [“fbcdn.net”] =

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                    [“facebook.com”] =

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                    [“akamaihd.net”] =

                    {

                        NSIncludesSubdomains = true,

                        NSExceptionRequiresForwardSecrecy = false,

                    },

                },

            },

            – Whitelist Facebook Apps

            LSApplicationQueriesSchemes =

            {

                “fb”,

                “fbapi20130214”,

                “fbapi20130410”,

                “fbapi20140410”,

                “fbapi20140116”,

                “fbapi20150313”,

                “fbapi20150629”,

                “fbauth”,

                “fbauth2”,

                “fb-messenger-api20140430”,

            },

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-50.png”,

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

},

– iOS app URL schemes:

            UIApplicationExitsOnSuspend = false,

            FacebookAppID = “FakeAppId”,  --replace XXXXXXXXXX with your Facebook App ID

            CFBundleURLTypes =

            {

                { CFBundleURLSchemes = { “fbFakeAppId”, } }  --replace XXXXXXXXXX with your Facebook App ID

            },

            [“URL types”] =

            {

                item =

                {

                    [“URL Schemes”] = { [“Item 0”] = “fbFakeAppId” },  --replace XXXXXXXXXX with your Facebook App ID

                },

            },

}

},

– Android Section

android =

{

usesPermissions =

{

“android.permission.INTERNET”,

            --optional permission used to display current location via the GPS

            “android.permission.ACCESS_FINE_LOCATION”,

            --optional permission used to display current location via WiFi or cellular service

            “android.permission.ACCESS_COARSE_LOCATION”,

            “android.permission.VIBRATE”,

},

        usesFeatures =

        {

            – If you set permissions “ACCESS_FINE_LOCATION” and “ACCESS_COARSE_LOCATION” above,

            – you may want to set up your app to not require location services as follows.

            – Otherwise, devices that do not have location sevices (such as a GPS) will be unable

            – to purchase this app in the app store.

            { name = “android.hardware.location”, required = false },

            { name = “android.hardware.location.gps”, required = false },

            { name = “android.hardware.location.network”, required = false }

        },

        coronaWindowMovesWhenKeyboardAppears = true,

        facebookAppId = “FakeAppId”,

    },

}

[/lua]

Any ideas? For the love of god help me :slight_smile:

There seems to be an outage affecting everyone - no official word yet

https://forums.coronalabs.com/topic/64694-corona-simulator-unable-to-build-could-not-generate-corona-certificate/

@BCD…  this is fixed now.

There seems to be an outage affecting everyone - no official word yet

https://forums.coronalabs.com/topic/64694-corona-simulator-unable-to-build-could-not-generate-corona-certificate/

@BCD…  this is fixed now.