Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug New Error with building for Android

Discussion in 'Unity Build Automation' started by alan-lawrance, Jan 12, 2022.

  1. alan-lawrance

    alan-lawrance

    Joined:
    Feb 1, 2013
    Posts:
    360
    We are seeing this new error, which appears to be an internal Unity Cloud Build issue:

    ERROR: Can't use --version with multiple gems. You can specify multiple gems with version requirements using `gem uninstall 'my_gem:1.0.0' 'my_other_gem:~>2.0.0'`

    An internal Unity Cloud Build error has occurred (Unexpected termination of the channel). The Unity Cloud Build team is addressing this issue, and this build can be restarted if needed.

    ----

    Can we get an update on whether this is known and a rough ETA on a fix?
     
  2. Danny327

    Danny327

    Unity Technologies

    Joined:
    Jan 4, 2021
    Posts:
    78
    This error is known to us and was fixed by reverting the change that caused it a month ago.
    Please submit a support ticket if the problem persists even after re-running a new build.
     
  3. Bryarey

    Bryarey

    Joined:
    Aug 24, 2014
    Posts:
    25
    Got it 2/14/2022:
    2: ERROR: Can't use --version with multiple gems. You can specify multiple gems with version requirements using `gem uninstall 'my_gem:1.0.0' 'my_other_gem:~>2.0.0'`
     
  4. george_playbite

    george_playbite

    Joined:
    Sep 27, 2018
    Posts:
    38
    I got it today as well.

    upload_2022-2-18_0-58-9.png
     
  5. Bryarey

    Bryarey

    Joined:
    Aug 24, 2014
    Posts:
    25
    Try to just restart build - in my case, this error is just magically disappeared.
     
  6. burakofficial

    burakofficial

    Joined:
    Aug 29, 2018
    Posts:
    2
    Just had the same error

    7: ERROR: Can't use --version with multiple gems. You can specify multiple gems with version requirements using `gem uninstall 'my_gem:1.0.0' 'my_other_gem:~>2.0.0'`

    There is also another error in the same build

    46: OAUTH: Error during checkout: /usr/local/bin/git clone '--branch' 'master' '--recursive' '--' 'https://****2:****@gitlab.com...

    It is weird to have an OAuth error. It was an automatic build. Cloud Build started the build in the first place via tracking the branch

    If necessary, the Unity version is 2019.2.14f1 and the platform is Android
     
  7. minh_unity337

    minh_unity337

    Joined:
    Sep 7, 2021
    Posts:
    2
    I just got the same error. Anyone knows how to fix it?