Search Unity

Bug VR - com.android.build.gradle.internal.tasks.Workers$ActionFacade failed

Discussion in 'VR' started by epicjohnstudios, Aug 14, 2022.

  1. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
    I'm going to lose my mind

    I have tried everything possible and nothing has helped. I keep getting this stupid error when I'm trying to build my game for Quest 2. Is there anyone who could help me?? Please help if you can!
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    1. Try the latest LTS version

    2. If it still happens copy over the full errors. Can't see much now
     
  3. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
    Heres the errors I copied:


    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    > Configure project :launcher
    WARNING: The option setting 'android.enableR8=false' is deprecated.
    It will be removed in version 5.0 of the Android Gradle plugin.
    You will no longer be able to disable R8
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    > Task :launcher:preBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :launcher:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:generateDebugResValues
    > Task :unityLibrary:generateDebugResources
    > Task :launcher:generateDebugBuildConfig
    > Task :launcher:compileDebugAidl NO-SOURCE
    > Task :launcher:compileDebugRenderscript NO-SOURCE
    > Task :launcher:generateDebugResValues
    > Task :launcher:generateDebugResources
    > Task :launcher:createDebugCompatibleScreenManifests
    > Task :launcher:extractDeepLinksDebug
    > Task :launcher:mergeDebugShaders
    > Task :launcher:compileDebugShaders NO-SOURCE
    > Task :launcher:generateDebugAssets UP-TO-DATE
    > Task :launcher:processDebugJavaRes NO-SOURCE
    > Task :unityLibrary:packageDebugResources
    > Task :unityLibrary:extractDeepLinksDebug
    > Task :launcher:checkDebugDuplicateClasses
    > Task :unityLibrary:generateDebugBuildConfig
    > Task :unityLibrary:mergeDebugShaders
    > Task :unityLibrary:processDebugManifest
    > Task :unityLibrary:compileDebugShaders NO-SOURCE
    > Task :unityLibrary:generateDebugAssets UP-TO-DATE
    > Task :launcher:javaPreCompileDebug
    > Task :unityLibrary:packageDebugAssets
    > Task :unityLibrary:processDebugJavaRes NO-SOURCE
    > Task :unityLibrary:bundleLibResDebug NO-SOURCE
    > Task :launcher:processDebugManifest
    > Task :launcher:mergeDebugAssets
    > Task :launcher:mergeDebugJniLibFolders
    > Task :launcher:validateSigningDebug
    > Task :launcher:mergeDebugResources
    > Task :launcher:mergeDebugJavaResource
    > Task :unityLibrary:mergeDebugJniLibFolders
    > Task :unityLibrary:compileDebugLibraryResources
    > Task :unityLibrary:parseDebugLocalResources
    > Task :unityLibrary:javaPreCompileDebug
    > Task :unityLibrary:mergeDebugNativeLibs
    > Task :unityLibrary:stripDebugDebugSymbols
    > Task :launcher:desugarDebugFileDependencies
    > Task :unityLibrary:copyDebugJniLibsProjectOnly
    > Task :unityLibrary:generateDebugRFile
    > Task :launcher:processDebugResources
    > Task :launcher:mergeExtDexDebug
    > Task :launcher:mergeDebugNativeLibs FAILED
    > Task :unityLibrary:compileDebugJavaWithJavac
    33 actionable tasks: 33 executed
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    Note: C:\Users\jfior\Downloads\EpicJohn Studios\Games\VR\Monkey Party\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':launcher:mergeDebugNativeLibs'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    > More than one file was found with OS independent path 'lib/arm64-v8a/libopenxr_loader.so'. If you are using jniLibs and CMake IMPORTED targets, see https://developer.android.com/studi...kaging_of_prebuilt_dependencies_used_by_cmake
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    * Get more help at https://help.gradle.org
    BUILD FAILED in 18s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    CommandInvokationFailure: Gradle build failed.
    C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleDebug"
    Environment Variables:
    OculusBase = C:\Program Files\Oculus\
    USERDOMAIN = GALAXYGORILLA
    ProgramFiles = C:\Program Files
    TMP = C:\Users\jfior\AppData\Local\Temp
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_REVISION = 9a04
    OneDriveConsumer = C:\Users\jfior\OneDrive
    OS = Windows_NT
    ALLUSERSPROFILE = C:\ProgramData
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 154 Stepping 4, GenuineIntel
    ProgramW6432 = C:\Program Files
    USERPROFILE = C:\Users\jfior
    JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
    CommonProgramFiles = C:\Program Files\Common Files
    DriverData = C:\Windows\System32\Drivers\DriverData
    ComSpec = C:\Windows\system32\cmd.exe
    PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
    PUBLIC = C:\Users\Public
    USERNAME = jfior
    NUMBER_OF_PROCESSORS = 12
    JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
    FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
    TEMP = C:\Users\jfior\AppData\Local\Temp
    Path = C:\Program Files\Oculus\Support\oculus-runtime;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\jfior\AppData\Local\Microsoft\WindowsApps;
    COMPUTERNAME = GALAXYGORILLA
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    SystemDrive = C:
    windir = C:\Windows
    FPS_BROWSER_USER_PROFILE_STRING = Default
    ZES_ENABLE_SYSMAN = 1
    CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
    APPDATA = C:\Users\jfior\AppData\Roaming
    OneDrive = C:\Users\jfior\OneDrive
    PROCESSOR_LEVEL = 6
    CommonProgramW6432 = C:\Program Files\Common Files
    ProgramFiles(x86) = C:\Program Files (x86)
    SystemRoot = C:\Windows
    SESSIONNAME = Console
    LOGONSERVER = \\GALAXYGORILLA
    LOCALAPPDATA = C:\Users\jfior\AppData\Local
    HOMEPATH = \Users\jfior
    HOMEDRIVE = C:
    USERDOMAIN_ROAMINGPROFILE = GALAXYGORILLA
    ProgramData = C:\ProgramData
    ORIGINAL_XDG_CURRENT_DESKTOP = undefined
    stderr[
    Note: C:\Users\jfior\Downloads\EpicJohn Studios\Games\VR\Monkey Party\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':launcher:mergeDebugNativeLibs'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    > More than one file was found with OS independent path 'lib/arm64-v8a/libopenxr_loader.so'. If you are using jniLibs and CMake IMPORTED targets, see https://developer.android.com/studi...kaging_of_prebuilt_dependencies_used_by_cmake
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    * Get more help at https://help.gradle.org
    BUILD FAILED in 18s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    ]
    stdout[
    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    > Configure project :launcher
    WARNING: The option setting 'android.enableR8=false' is deprecated.
    It will be removed in version 5.0 of the Android Gradle plugin.
    You will no longer be able to disable R8
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
    Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    > Task :launcher:preBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :launcher:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:compileDebugAidl NO-SOURCE
    > Task :unityLibrary:packageDebugRenderscript NO-SOURCE
    > Task :unityLibrary:compileDebugRenderscript NO-SOURCE
    > Task :unityLibrary:generateDebugResValues
    > Task :unityLibrary:generateDebugResources
    > Task :launcher:generateDebugBuildConfig
    > Task :launcher:compileDebugAidl NO-SOURCE
    > Task :launcher:compileDebugRenderscript NO-SOURCE
    > Task :launcher:generateDebugResValues
    > Task :launcher:generateDebugResources
    > Task :launcher:createDebugCompatibleScreenManifests
    > Task :launcher:extractDeepLinksDebug
    > Task :launcher:mergeDebugShaders
    > Task :launcher:compileDebugShaders NO-SOURCE
    > Task :launcher:generateDebugAssets UP-TO-DATE
    > Task :launcher:processDebugJavaRes NO-SOURCE
    > Task :unityLibrary:packageDebugResources
    > Task :unityLibrary:extractDeepLinksDebug
    > Task :launcher:checkDebugDuplicateClasses
    > Task :unityLibrary:generateDebugBuildConfig
    > Task :unityLibrary:mergeDebugShaders
    > Task :unityLibrary:processDebugManifest
    > Task :unityLibrary:compileDebugShaders NO-SOURCE
    > Task :unityLibrary:generateDebugAssets UP-TO-DATE
    > Task :launcher:javaPreCompileDebug
    > Task :unityLibrary:packageDebugAssets
    > Task :unityLibrary:processDebugJavaRes NO-SOURCE
    > Task :unityLibrary:bundleLibResDebug NO-SOURCE
    > Task :launcher:processDebugManifest
    > Task :launcher:mergeDebugAssets
    > Task :launcher:mergeDebugJniLibFolders
    > Task :launcher:validateSigningDebug
    > Task :launcher:mergeDebugResources
    > Task :launcher:mergeDebugJavaResource
    > Task :unityLibrary:mergeDebugJniLibFolders
    > Task :unityLibrary:compileDebugLibraryResources
    > Task :unityLibrary:parseDebugLocalResources
    > Task :unityLibrary:javaPreCompileDebug
    > Task :unityLibrary:mergeDebugNativeLibs
    > Task :unityLibrary:stripDebugDebugSymbols
    > Task :launcher:desugarDebugFileDependencies
    > Task :unityLibrary:copyDebugJniLibsProjectOnly
    > Task :unityLibrary:generateDebugRFile
    > Task :launcher:processDebugResources
    > Task :launcher:mergeExtDexDebug
    > Task :launcher:mergeDebugNativeLibs FAILED
    > Task :unityLibrary:compileDebugJavaWithJavac
    33 actionable tasks: 33 executed
    ]
    exit code: 1
    UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    Rethrow as GradleInvokationException: Gradle build failed
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <4a8943a7ff7048deb64e0a5059f78d1d>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
    Build completed with a result of 'Failed' in 207 seconds (207344 ms)
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <5f40cdb07bd44d76a23dad985a4ec283>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <5f40cdb07bd44d76a23dad985a4ec283>:0
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    Do you use a custom androidmanifest or publishing settings?
     
  5. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    Does it happen in a blank project?
     
  7. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
    No, the project has quite a bit of files inside. I've been working on it for a few weeks.
     
  8. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
    So, any idea on what exactly i should do?
     
  9. marchmiskin

    marchmiskin

    Joined:
    Jul 15, 2020
    Posts:
    1
    I kept getting similar errors every time I tried building my VR project, and it was driving me crazy. Then after trying a whole lot of other things that didn't solve the problem, I went into the android tab in Project Settings -> XR Plug-in Management and selected the OpenXR checkbox instead of Oculus, and the next time I tried to build the project it worked. (I'd been fiddling with those checkboxes before because I'd first tried to get the project to run on the Oculus in Play mode and had a big struggle with that; it eventually turned out that for that to work the XR Plug-in Management had to be set to Oculus in the Windows tab... but not the Android tab, I guess. Hm.)

    Not sure whether this will help you; it's possible there's more than one thing that could be causing this error, or I guess it's possible that that wasn't what was causing the error at all but whatever was causing it coincidentally cleared up the same time I made that setting change, but I figured I'd share this just in case.
     
    farbridgedamon and Riatser like this.
  10. epicjohnstudios

    epicjohnstudios

    Joined:
    Aug 8, 2022
    Posts:
    9
    I tried, and it worked! Thanks so much man! you saved my ass and my sanity!
     
    farbridgedamon likes this.
  11. Riatser

    Riatser

    Joined:
    Dec 1, 2018
    Posts:
    1
    You really saved my life thank you sooooo much!!! I'm looking through the whole internet and have tried at least 10 times with different methods and yours is working perfectly
     
  12. zelay2008

    zelay2008

    Joined:
    Jan 2, 2023
    Posts:
    1
    I've been having absolutely no luck for a good while now, can't figure it out whatsoever, had the same error so expected the same fix to work. Still doesn't...
     
  13. nilagard

    nilagard

    Joined:
    Jan 13, 2017
    Posts:
    77
    Try this post: https://answers.unity.com/questions/1846144/how-to-remove-androidenabler8-from-the-project.html
    Looks like you have to fix the big "WARNING: The option setting 'android.enableR8=false' is deprecated" line. You might have to revert back to some older changes for the time being.
    Also these posts might be helpful: https://stackoverflow.com/questions...eprecated-and-should-not-be-used-anymore-it-w
    - https://forum.unity.com/threads/do-...android-enabler8-false-is-deprecated.1250713/
     
  14. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    467
    One must admit that it is totally ridiculous that the tool, the integrated version of Gradle that comes with the version of the Unity Editor we're forced to use, the same very one that's found in the Hub, would be generating a deprecation warning that can make building processes crash.
    Even more so as the lowest Gradle edition to be used was 5.1.1for Unity 2019 LTS (see Gradle versions) while the warning was already saying that it would (will) be deprecated for Gradle 5.0... while the Player Settings in 2021 LTS still allows you to uncheck R8 (sets the property to false).
     
  15. SimoMine

    SimoMine

    Joined:
    Sep 10, 2022
    Posts:
    1
    i have the same issue with an Ar Android application and not an XR apllication so can you help me?