Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build error 5
Started by mysticeti Apr 17 2019 03:31 AM

11 replies to this topic
build error 5 build error android
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

Hi

I am using 2019.3474

I have tried for last 2 days and I am getting the same build error message. I have also tried by repairing the installation and the problem still persists. I built corona apps before using the same pc.

Using custom Build Id 00000
Excluding specified files from build: 
   excluding: Icon.png
   excluding: Icon-Small-*.png
   excluding: Icon*@2x.png
BuildID: 5cb70d371e96a
WebServices: downloading build
ERROR: download failed to open URL: The operation timed out
ERROR: failed to download build: http://builds.coronalabs.com/5cb70d371e96a-built.zip?AWSAccessKeyId=ACCESS KEY VALUE &Expires=1555500479&Signature=SIGNATURE VALUE


ERROR: download failed to open URL: The operation timed out
Android build failed (5) after 142 seconds

Is anyone facing the same issue or know what could be the issue?

Thanks in advance



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,044 posts
  • Corona SDK

I am using 3470 and I built yesterday multiple times without any issues. Do you have a firewall somewhere or anything else that might be blocking the coronalabs url?



[TOPIC: post.html]
#3

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

@agramonte

I recently changed place. I will try in a different network connection.
 



[TOPIC: post.html]
#4

1305046.ab

[GLOBAL: userInfoPane.html]
1305046.ab
  • Observer

  • 1 posts
  • Corona SDK

I am also getting the same error. I did not get the error 2-3 days back. What should I do?

I am using my usual setting.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,467 posts
  • Enterprise

Post your build.settings

Post your entire console log from a build that is failing



[TOPIC: post.html]
#6

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

NOTE: I still didn't check whether my build is successful in another network connection. I will try out at the end of this month.

 

This is my current settings and response i get.
build.settings

--
-- For more information on build.settings see the Corona SDK Build Guide at:
-- https://docs.coronalabs.com/guide/distribution/buildSettings
--


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",
      "android.permission.GET_ACCOUNTS",
      "com.android.vending.BILLING",
    
},
    
    googlePlayGamesAppId = "VALUE HERE",


  },
  
   plugins =
      {
        
        ["CoronaProvider.native.popup.social"] =
        {
            publisherId = "com.coronalabs"
        },
        ["plugin.gpgs.v2"] = 
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { ["android"] = true }
        },
        ['plugin.toast'] = 
        {
        publisherId = 'com.spiralcodestudio'
        },
        ["plugin.google.iap.v3"] =
        {
            publisherId = "com.coronalabs"
        },
        
        ['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.Ogury'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' },


      }
}       

Error output 

Testing credentials for 'E:\xto.keystore': 
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
jar signed.


Warning: 
The signer's certificate is self-signed.
Using custom build id from app bundle: 00000 (AppSettings.lua)


Using custom Build Id 00000
Excluding specified files from build: 
   excluding: Icon.png
   excluding: Icon-Small-*.png
   excluding: Icon*@2x.png
BuildID: 5cb970d42a07e
WebServices: downloading build
ERROR: download failed to open URL: The operation timed out
ERROR: failed to download build: http://builds.coronalabs.com/5cb970d42a07e-built.zip?AWSAccessKeyId=VALUE HERE&Expires=1555657050&Signature=VALUE HERE


ERROR: download failed to open URL: The operation timed out
Android build failed (5) after 140 seconds


[TOPIC: post.html]
#7

marketplace

[GLOBAL: userInfoPane.html]
marketplace
  • Observer

  • 7 posts
  • Corona Staff

I'm checking with the team to see if they are aware of any issues. I just did builds for Android and iOS and didn't see any errors, so maybe it's a connectivity problem.

 

You can always try building sample apps and see if that works, comment out various plugins to see if one of them may be the particular problem.

 

Rob


  • mysticeti likes this

[TOPIC: post.html]
#8

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

Hi

@Rob
Thank you for the suggestion. 

I have rechecked with building the included sample app for animation and the build was fine. I didn't get any errors so I found that network isn't the issue. 

I have tried commenting out the beta.appodeal plugin and the build was working. I think there is some issue with the appodeal plugin build. I have tried including only the 3 beta base plugins but still I was getting the same build error 5 and I have also tried only the release 3 base plugins and still was getting the error.

['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },

If you could please check what might be the issue regarding the appodeal plugin



[TOPIC: post.html]
#9

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,044 posts
  • Corona SDK

Just built my app for Android and iOS using .3470 using my usual appodeal configuration and it worked. Can you try removing StartApp?

 

 

-- Appodeal

        ['plugin.appodeal.beta.base'] = { 
            publisherId = 'com.coronalabs',
            supportedPlatforms = { iphone=true, android=true }
        },
        ['plugin.appodeal.beta.FacebookAudience'] = { 
            publisherId = 'com.coronalabs',
            supportedPlatforms = { iphone=true, android=true }
        },
        ['plugin.appodeal.beta.AmazonAds'] = { 
            publisherId = 'com.coronalabs',
            supportedPlatforms = { iphone=true, android=true }
        },
        ['plugin.appodeal.beta.GoogleAdMob'] = { 
            publisherId = 'com.coronalabs',
            supportedPlatforms = { iphone=true, android=true }
        }

 

 

"iPhone Developer: Adrian Gomez (xxxx)"

Apr 20 09:43:20.811 iOS build succeeded in 113 seconds

 

Apr 20 09:37:41.660 Using java version "1.8.0_151"

                    Java™ SE Runtime Environment (build 1.8.0_151-b12)
                    Java HotSpot™ 64-Bit Server VM (build 25.151-b12, mixed mode)
Apr 20 09:37:42.492 Building Android app for xxxxx with 2019.3470
Apr 20 09:37:43.924 Using custom build id from app bundle: 00000 (AppSettings.lua)
Apr 20 09:37:45.282 BUILD SUCCESSFUL
                    Total time: 0 seconds
Apr 20 09:39:05.818 Excluding specified files from build: 
                       excluding: LaunchScreen.storyboardc
                       excluding: Icon.png
                       excluding: Icon-*dpi.png
                       excluding: Images.xcassets
                    BuildID: 5cbb20ba1f850
Apr 20 09:39:13.006      [echo]  "creating unsigned.apk" 
Apr 20 09:39:13.007 
Apr 20 09:39:16.567 BUILD SUCCESSFUL
                    Total time: 6 seconds
Apr 20 09:39:16.660 Android build succeeded in 92 seconds


[TOPIC: post.html]
#10

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

@agramonte

Thank you for the suggestion.

I have tried checking individual plugins and found that only this following combination works but sometimes the build would fail, but by restarting the simulator the build was again successful:

NOTE: sometimes mytarget plugin would give a successful build.

 

Working

['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' },

BUT if I included any of the following plugins I get the build error:

 

Not Working

      --  ['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
      --  ['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
      --  ['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs' },
      --  ['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs' },
        --['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.Ogury'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
       -- ['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' },


[TOPIC: post.html]
#11

marketplace

[GLOBAL: userInfoPane.html]
marketplace
  • Observer

  • 7 posts
  • Corona Staff

Is there a reason you're using the beta version?



[TOPIC: post.html]
#12

mysticeti

[GLOBAL: userInfoPane.html]
mysticeti
  • Contributor

  • 106 posts
  • Corona SDK

@Rob

Yes, I am using the beta version for the hasUserConsent parameter in appodeal.init(), for the GDPR compliance.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: build error 5, build error, android