Corona takes forever at "Performing build..." while building for Android

Hello. I’m using corona 2013.1164 (daily build), and it is taking forever at performing build, for android. Sometimes it works, but this is very rare.

this is my build.settings.

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = {     plugins =     {               ["CoronaProvider.ads.iads"] =         {             -- required             publisherId = "com.coronalabs",         },         ["CoronaProvider.ads.admob"] =         {             -- required             publisherId = "com.coronalabs",         },         ["CoronaProvider.gameNetwork.google"] =         {             -- required             publisherId = "com.coronalabs",         },             },      orientation = {         default = "landscape",         supported = { "landscapeLeft", "landscapeRight"},     },          iphone = {         components = {},         plist = {                 UIAppFonts =                          {                                 "SFDistantGalaxy.ttf",                         },             CFBundleLocalizations =             {                 "English",                 "Portuguese",             },             CFBundleIconFile = "Icon.png",              CFBundleIconFiles = {                     "Icon.png" ,                      "Icon@2x.png" ,                      "Icon-72.png" ,               },             UIStatusBarHidden = true,             UIPrerenderedIcon = false, -- set to false for "shine" overlay             --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend             --[[            -- iOS app URL schemes:             CFBundleURLTypes =             {                 {                     CFBundleURLSchemes =                     {                         "fbXXXXXXXXXXXXXX", -- example scheme for facebook                         "coronasdkapp", -- example second scheme                     }                 }             }             --]]         }     },    android =    {       googlePlayGamesAppId = "xxxxxxxxx", --android app id       usesPermissions =       {          "android.permission.INTERNET",          "android.permission.ACCESS\_NETWORK\_STATE",          "android.permission.READ\_PHONE\_STATE",          "com.android.vending.BILLING",       },    }, }  

@scrapee.net, I haven’t looked at your code, but I’ve had times when it feels like it’s taking way too long to generate a device build, and it usually is caused by some issues with my internet connectivity.  If you are able to build for Android sometimes without an error, but it takes too long other times, then it’s probably something to do with the connectivity issue.

Naomi

I found the cause of the problem, but don’t know how to solve it.

It is caused by the admob plugin. Removing it, it compiles fast. With it, sametimes it does, and sametimes I cant wait that long to see if it will really compile.

Ah, that’s interesting.  What daily build version are you using?  I use admob plugin, but it’s not causing a problem for me.  But now that you mention it, I sort of remember having some issues with adding admob plugin a while back (but honestly, I don’t remember what it was about.)

Naomi

I’m using the latest daily build. I reseted my router, and now, after a few minutes, it got compiled. I just cant imagine, why everytime I want to compile, the plugin is downloaded. Why it does not come with corona package? Id like to hear something about this from the staff.

Still having headaches to compile.

I will ask the engineers to see if there is something weird with the plugins.  Plugins by their nature not part of the core and because some are tied to your subscription level, we have to verify that which requires Internet access.

Hello Rob. No solution yet? I need to compile my game.

what poor support is this? I created this topic, I wrote them an email, and so now, not solutions, no comments about if the problems is being solved or nothing. I paid 599 USD for nothing… How can I test my app if it compiles every 10 tries?

The engineers are looking at this.  In the mean time are you commenting out the iAds block before you try and build?  The iAds plugin doesn’t work on Android. 

    plugins =

    {

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

        --[[[“CoronaProvider.ads.iads”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

        

        [“CoronaProvider.gameNetwork.google”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },–]]

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

         

        [“CoronaProvider.ads.admob”] =

        {

            – required

            publisherId = “com.coronalabs”,

        }

  

    },


I had the same problem when trying to compile from another computer and another internet connection. So it can’t be something local. Sometimes it compiles.

Can you visit   http://speedtest.net

on your internet connection and let me know what it says? 

Also are you using any firewalls or proxies to access us? 

From the command line (I’m assuming you’re on a Mac since you’re trying to include iAds), can you run the command:

traceroute coronalabs.com

and paste the results in?

The engineers said the AdMob plugin is one of the larger ones, but the timeouts for build should be well longer than the time it takes to download the plugin.  They are still looking into causes on our end. But in the mean time, since you’re the only one reporting this, we need to learn more about your network connectivity.

Hello Rob,

Can you please look into the admob interstetial ads for iphone not showing using corona, Admob supports interstetial ads for iphone also(downloaded the sample code from https://developers.google.com/mobile-ads-sdk/docs/admob/advanced  and it is showing the interstetial ads on iphone device). I request you to solve this issue as soon as possible. waiting for the response.

Thank you

@scrapee.net, I haven’t looked at your code, but I’ve had times when it feels like it’s taking way too long to generate a device build, and it usually is caused by some issues with my internet connectivity.  If you are able to build for Android sometimes without an error, but it takes too long other times, then it’s probably something to do with the connectivity issue.

Naomi

I found the cause of the problem, but don’t know how to solve it.

It is caused by the admob plugin. Removing it, it compiles fast. With it, sametimes it does, and sametimes I cant wait that long to see if it will really compile.

Ah, that’s interesting.  What daily build version are you using?  I use admob plugin, but it’s not causing a problem for me.  But now that you mention it, I sort of remember having some issues with adding admob plugin a while back (but honestly, I don’t remember what it was about.)

Naomi

I’m using the latest daily build. I reseted my router, and now, after a few minutes, it got compiled. I just cant imagine, why everytime I want to compile, the plugin is downloaded. Why it does not come with corona package? Id like to hear something about this from the staff.

Still having headaches to compile.

I will ask the engineers to see if there is something weird with the plugins.  Plugins by their nature not part of the core and because some are tied to your subscription level, we have to verify that which requires Internet access.

Hello Rob. No solution yet? I need to compile my game.