Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved UCB Android API 31 Support

Discussion in 'Unity Build Automation' started by Mishganches, Jan 10, 2022.

  1. Mishganches

    Mishganches

    Joined:
    Mar 23, 2014
    Posts:
    31
    Good day! It looks that builds with target API 31 still not supported in Unity Cloud build. We have got "Unable to install additional SDK platform". When this supposed to be fixed? On my local machine build has been completed successfully. Thanks in advance.

    Unity 2020.3.20f1.

    upload_2022-1-10_18-36-56.jpeg

    [Unity] EXCEPTION: CommandInvokationFailure: Unable to install additional SDK platform. Please run the SDK Manager manually to make sure you have the latest set of tools and the required platforms installed.
    [Unity] /UNITY_PATH/Unity/android/sdk_30_0_2/cmdline-tools/latest/bin/sdkmanager "platforms;android-31"
    [Unity] stderr[
    [Unity] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    [Unity] Warning: Failed to read or create install properties file.
    [Unity] ]
    [Unity] stdout[
    [Unity] Loading package information...
    [Unity] Loading local repository...
    [Unity] [ ] 3% Loading local repository...
    [Unity] [ ] 3% Fetch remote repository...
    [Unity] [= ] 3% Fetch remote repository...
    [Unity] [= ] 4% Fetch remote repository...
    [Unity] [= ] 5% Fetch remote repository...
    [Unity] [== ] 5% Fetch remote repository...
    [Unity] [== ] 6% Fetch remote repository...
    [Unity] [== ] 7% Fetch remote repository...
    [Unity] [=== ] 8% Fetch remote repository...
    [Unity] [=== ] 8% Computing updates...
    [Unity] [=== ] 10% Computing updates...
    [Unity] [=== ] 10% Installing Android SDK Platform 31
    [Unity] [=== ] 10% Installing Android SDK Platform 31
    [Unity] ]
    [Unity] exit code: 1
     
    dan_ginovker likes this.
  2. rajivrao

    rajivrao

    Unity Technologies

    Joined:
    Feb 19, 2019
    Posts:
    111
    Hi @Mishganches -- we're currently working on installing this to our VMs. Will update you once we have an ETA on that.
     
    Mishganches likes this.
  3. Mishganches

    Mishganches

    Joined:
    Mar 23, 2014
    Posts:
    31
    Hello! :) Do you have any news about this feature?
     
    dan_ginovker likes this.
  4. bearhugmo

    bearhugmo

    Joined:
    Mar 20, 2019
    Posts:
    19
    Google requires API 31 for submission now and we are still seeing this issue on Android Builds. Any update on a fix/workaround?
     
    dan_ginovker likes this.
  5. bearhugmo

    bearhugmo

    Joined:
    Mar 20, 2019
    Posts:
    19
    dan_ginovker likes this.
  6. wrossmck-unity

    wrossmck-unity

    Unity Technologies

    Joined:
    Nov 9, 2021
    Posts:
    87
    correct. note that this is only available for the versions of unity that support it
     
    Last edited: Sep 22, 2023
  7. dan_ginovker

    dan_ginovker

    Joined:
    Jun 13, 2021
    Posts:
    75
    PSA - Anyone who comes here from Google, the error of

    [Unity] [ ] 3% Loading local repository...
    [Unity] [ ] 3% Fetch remote repository...
    [Unity] [= ] 3% Fetch remote repository...
    [Unity] [= ] 4% Fetch remote repository...
    [Unity] [= ] 5% Fetch remote repository...
    [Unity] [== ] 5% Fetch remote repository...
    [Unity] [== ] 6% Fetch remote repository...
    [Unity] [== ] 7% Fetch remote repository...
    [Unity] [=== ] 8% Fetch remote repository...
    [Unity] [=== ] 8% Computing updates...
    [Unity] [=== ] 10% Computing updates...
    [Unity] [=== ] 10% Installing Android SDK Platform XYZ
    [Unity] [=== ] 10% Installing Android SDK Platform XYZ
    [Unity] ]


    Happens when your Project Settings specifies a more recent SDK than your Advanced Settings in Unity Cloud Build