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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Can't build my game after started using Unity 2023.1.13f1

Discussion in 'Editor & General Support' started by ali_ihsann, Sep 19, 2023.

  1. ali_ihsann

    ali_ihsann

    Joined:
    Mar 10, 2014
    Posts:
    2
    Hello,

    I was using Unity 2021.3.16f1 to build my game and It was building succesfully. For google play related reasons I needed to update my Unity to latest version. After starting using version 2023.1.13f1, I can't build my game.

    The error when building:

    CommandInvokationFailure: Gradle build failed.
    C:\Program Files\Unity\Hub\Editor\2023.1.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2023.1.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    Environment Variables:
    USERDOMAIN = DESKTOP-5IHVNQM
    ProgramFiles = C:\Program Files
    TMP = C:\Users\ali\AppData\Local\Temp
    BURST_ANDROID_MIN_API_LEVEL = 22
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_REVISION = 9a03
    OS = Windows_NT
    CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_13660_AYUHBZMYARIDMUPD
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
    DOTNET_ENVIRONMENT = Development
    AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
    USERPROFILE = C:\Users\ali
    JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2023.1.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
    CommonProgramFiles = C:\Program Files\Common Files
    DriverData = C:\Windows\System32\Drivers\DriverData
    ComSpec = C:\Windows\system32\cmd.exe
    LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
    PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
    ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2023.1.13f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
    SystemRoot = C:\Windows
    HEAP_CLIENT_TOKEN = 1717415662
    NUMBER_OF_PROCESSORS = 16
    ZES_ENABLE_SYSMAN = 1
    WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
    DEBUG_ENV_VAR = UnityHub
    ProgramW6432 = C:\Program Files
    FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
    HOMEDRIVE = C:
    TEMP = C:\Users\ali\AppData\Local\Temp
    Path = C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Java\jdk-19\bin;C:\Program Files\Go\bin;C:\Users\ali\AppData\Local\Microsoft\WindowsApps;C:\Users\ali\.dotnet\tools;C:\Users\ali\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\ali\go\bin
    USERNAME = ali
    COMPUTERNAME = DESKTOP-5IHVNQM
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    SystemDrive = C:
    ALLUSERSPROFILE = C:\ProgramData
    SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
    HEAP_CLIENT_TOKEN_STAGING = 3786794399
    GOPATH = C:\Users\ali\go
    FPS_BROWSER_USER_PROFILE_STRING = Default
    windir = C:\Windows
    AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
    PUBLIC = C:\Users\Public
    CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
    APPDATA = C:\Users\ali\AppData\Roaming
    OneDrive = C:\Users\ali\OneDrive
    PROCESSOR_LEVEL = 6
    CommonProgramW6432 = C:\Program Files\Common Files
    ProgramFiles(x86) = C:\Program Files (x86)
    NVIDIAWHITELISTED = 0x01
    SESSIONNAME = Console
    LOGONSERVER = \\DESKTOP-5IHVNQM
    LOCALAPPDATA = C:\Users\ali\AppData\Local
    HOMEPATH = \Users\ali
    LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
    SHIM_MCCOMPAT = 0x810000001
    USERDOMAIN_ROAMINGPROFILE = DESKTOP-5IHVNQM
    ProgramData = C:\ProgramData
    ORIGINAL_XDG_CURRENT_DESKTOP = undefined
    stderr[
    FAILURE: Build completed with 2 failures.
    1: Task failed with an exception.
    -----------
    * What went wrong:
    Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    > Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules core-1.0.0-runtime (androidx.core:core:1.0.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.media.MediaBrowserCompat found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$CallbackHandler found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ConnectionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ConnectionCallback$ConnectionCallbackInternal found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ConnectionCallback$StubApi21 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$CustomActionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$CustomActionResultReceiver found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ItemCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ItemCallback$StubApi23 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ItemReceiver found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImpl found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$1 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$2 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$3 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$4 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$5 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$6 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi21$7 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi23 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplApi26 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$1 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$2 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$3 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$4 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$5 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$6 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection$1 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserImplBase$MediaServiceConnection$2 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaBrowserServiceCallbackImpl found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaItem found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaItem$1 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$MediaItem$Flags found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$SearchCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$SearchResultReceiver found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$ServiceBinderWrapper found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$Subscription found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$SubscriptionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$SubscriptionCallback$StubApi21 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompat$SubscriptionCallback$StubApi26 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21$ConnectionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21$ConnectionCallbackProxy found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21$MediaItem found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21$SubscriptionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi21$SubscriptionCallbackProxy found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi23 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi23$ItemCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi23$ItemCallbackProxy found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi26 found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1.0.0-runtime (androidx.media:media:1.0.0)
    Duplicate class android.support.v4.media.MediaBrowserCompatApi26$SubscriptionCallback found in modules jetified-androidx.media.media-1.0.0-runtime :)androidx.media.media-1.0.0:) and media-1<message truncated>

    * I don't use custom gradle or manifest

    When I delete resolved libraries(Assets -> External Dependency Manager -> Android Resolver -> Delete Resolved Libraries) It builds succesfully, but I'm not sure if it break something else.

    Can somebody share informations about this?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,221
    Are you sure? I am building with SDK 33 and Unity2020.3.41f1

    ISSUES RELATED TO UPGRADING PROJECTS (eg, changing to a higher Unity version)

    Upgrading to a later version of Unity is a one-way process. Any project that has been updated should NEVER be reverted to an earlier version of Unity because this is expressly not supported by Unity. Doing so exposes your project to internal inconsistencies and breakage that may actually be impossible to repair.

    If you want to upgrade to a newer version of Unity, do not even consider it until you have placed your project fully under proper source control. This goes double or triple for non-LTS (Tech Stream) versions of Unity3D, which can be extremely unstable compared with LTS.

    Once you have source-controlled your project then you may attempt a Unity upgrade. Immediately after any attempted upgrade you should try to view as much of your project as possible, with a mind to looking for broken animations or materials or any other scripting errors or runtime issues.

    After an upgrade you should ALWAYS build to all targets you contemplate supporting: iOS and Android can be particularly finicky, and of course any third party libraries you use must also "play nice" with the new version of Unity. Since you didn't write the third party library, it is up to you to vet it against the new version to make sure it still works.

    If there are issues in your testing after upgrading Unity, ABANDON the upgrade, revert your project in source control and be back where you were pre-upgrade with the earlier version of Unity.

    Obviously the less you test after the upgrade the more chance you will have of an undiscovered critical issue.

    This risk of upgrading is entirely on you and must be considered whenever you contemplate a Unity version upgrade.

    Do not upgrade "just for fun" or you may become very unhappy.

    ISSUES RELATED TO GOING BACK OR UNDOING BREAKING CHANGES TO YOUR WORK

    Keep in mind that Unity does NOT back your files up. That's on YOU.

    Use either version control (see below) or else make your own backups.




    How to troubleshoot build failures:

    First, make a blank project with a single blank scene and prove that it builds successfully.

    If the blank project does NOT build, go fix your Unity installation or your other tools, such as Android SDK, NDK, JDK, etc. It may even be necessary to change to a different version of Unity3D. It is generally best to stay with LTS versions of Unity3D.

    Until you can build a blank project to the target platform, don't fiddle with anything else.

    Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.

    Most often things that prevent building are third-party libraries such as Firebase.

    Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.

    It may also be helpful to work through a tutorial or two for whatever subsystem is making the build fail.

    Android build not building:

    Recently (circa July 2022) there have been reports of Unity's installer failing to install the Android Tools.

    https://forum.unity.com/threads/cant-build-for-android.1306098/

    Here was how I brought up Unity2020.3.41 and the Android SDK 31 on October 30, 2022 (edited on August 23, 2023 to include Android SDK 33...):

    https://forum.unity.com/threads/aab...y-2021-3-8-with-jdk-1-8.1322211/#post-8551193

    Android Gradle errors and other related stuff:

    https://forum.unity.com/threads/unity-gradle-bug-please-help.1368018/#post-8625789
     
  3. ali_ihsann

    ali_ihsann

    Joined:
    Mar 10, 2014
    Posts:
    2

    Thanks for your reply.

    Google Play says "Google Billing Library version will be depraceted in November, all app updates must use Billing Library version 5 or newer". I thought I have to upgrade Unity version for that but I just checked version compatibility between Unity, Unity IAP and Billing Library:

    - Starting from Unity IAP 4.8.0, Billing Library version is at least 5.1.0
    - Unity IAP 4.8.0 is installable starting from Unity 2020.3

    ----------

    Also about the building problem; multiple versions of Unity shouldn't be installed at the same time. It breaks something when building complex projects and shows unreasonable errors.

    I uninstalled all Unity versions and Unity Hub then reinstalled only 2021.3.30f1 LTS version. Now I can build my project after resolving mobile dependencies.
     
    Kurt-Dekker likes this.