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 How to do this? Please help.

Discussion in 'Android' started by Noodle_Meanie, May 2, 2023.

  1. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Error:
    Code (CSharp):
    1. Assets/Plugins/Android\gradleTemplate.properties file is using a deprecated way of controlling which tool should be used to do the minification. To fix this, remove "useProguard" entries yourself. If not fixed, your build can fail.
    My gradleTemplate.properties file:
    upload_2023-5-1_17-28-17.png
    What do I change?

    Here is this BTW:
    upload_2023-5-1_17-29-2.png

    Here is my mainTemplate.gradle
    Code (CSharp):
    1.  
    2.  
    3. // Android Resolver Repos Start
    4. ([rootProject] + (rootProject.subprojects as List)).each {
    5.     ext {
    6.         it.setProperty("android.useAndroidX", true)
    7.         it.setProperty("android.enableJetifier", true)
    8.     }
    9. }
    10. ([rootProject] + (rootProject.subprojects as List)).each { project ->
    11.     project.repositories {
    12.         def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
    13.         maven {
    14.             url "https://maven.google.com"
    15.         }
    16.         maven {
    17.             url "https://unity3ddist.jfrog.io/artifactory/unity-mediation-mvn-prod-local/" // Assets/Editor/MediationAdapterDependencies.xml:6
    18.         }
    19.         mavenLocal()
    20.         jcenter()
    21.         mavenCentral()
    22.     }
    23. }
    24. // Android Resolver Repos End
    25. apply plugin: 'com.android.library'
    26. **APPLY_PLUGINS**
    27.  
    28. dependencies {
    29.     implementation fileTree(dir: 'libs', include: ['*.jar'])
    30. // Android Resolver Dependencies Start
    31.     implementation 'com.unity3d.mediation:mediation-sdk:[1.0,2.0[' // Assets/Editor/MediationAdapterDependencies.xml:8
    32.     implementation 'com.unity3d.mediation:unityads-adapter:[1.0,2.0[' // Assets/Editor/MediationAdapterDependencies.xml:10
    33. // Android Resolver Dependencies End
    34. **DEPS**}
    35.  
    36. // Android Resolver Exclusions Start
    37. android {
    38.   packagingOptions {
    39.       exclude ('/lib/armeabi/*' + '*')
    40.       exclude ('/lib/mips/*' + '*')
    41.       exclude ('/lib/mips64/*' + '*')
    42.       exclude ('/lib/x86/*' + '*')
    43.       exclude ('/lib/x86_64/*' + '*')
    44.   }
    45. }
    46. // Android Resolver Exclusions End
    47. android {
    48.     compileSdkVersion **APIVERSION**
    49.     buildToolsVersion '**BUILDTOOLS**'
    50.  
    51.     compileOptions {
    52.         sourceCompatibility JavaVersion.VERSION_1_8
    53.         targetCompatibility JavaVersion.VERSION_1_8
    54.     }
    55.  
    56.     defaultConfig {
    57.         minSdkVersion **MINSDKVERSION**
    58.         targetSdkVersion **TARGETSDKVERSION**
    59.         ndk {
    60.             abiFilters **ABIFILTERS**
    61.         }
    62.         versionCode **VERSIONCODE**
    63.         versionName '**VERSIONNAME**'
    64.         consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
    65.     }
    66.  
    67.     lintOptions {
    68.         abortOnError false
    69.     }
    70.  
    71.     aaptOptions {
    72.         noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
    73.         ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
    74.     }**PACKAGING_OPTIONS**
    75. }**REPOSITORIES**
    76. **IL_CPP_BUILD_SETUP**
    77. **SOURCE_BUILD_SETUP**
    78. **EXTERNAL_SOURCES**
    79.  
     
    Last edited: May 4, 2023
  2. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
    Share contents of your custom gradle files too.
     
  3. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Like what exactly?
     
  4. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
    Can you try removing jcenter() or move mavenCentral above jcenter?
     
  5. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    I'm sorry, I don't know which script that's in. I'm still kinda new to this stuff.
     
  6. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
    Its in the gradle file you shared above.
     
  7. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Thank you so much! Is it ok if you help me with some other errors I have when trying to make a build?
     
  8. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
  9. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Thank you SO much!

    I tried to make a build and I have gotten 4 errors. One of them is this:
    Code (CSharp):
    1. Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    2.  
    3. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    4. Use '--warning-mode all' to show the individual deprecation warnings.
    5. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    6.  
    7. 0x00007ff76e61d4fd (Unity) StackWalker::GetCurrentCallstack
    8. 0x00007ff76e6240b9 (Unity) StackWalker::ShowCallstack
    9. 0x00007ff76f5bae23 (Unity) GetStacktrace
    10. 0x00007ff76fc69b5d (Unity) DebugStringToFile
    11. 0x00007ff76d77ef92 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    12. 0x000001e9b1aa2363 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    13. 0x000001e9b1aa227b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    14. 0x000001e9b1aa1fc0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    15. 0x000001e9b1aa1ee5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
    16. 0x000001e9eb871633 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
    17. 0x000001e9b1a7d013 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
    18. 0x000001e9eb865b53 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
    19. 0x000001e9b983f233 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
    20. 0x000001e9b983e948 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
    21. 0x000001e9b983ec75 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
    22. 0x00007fff6ea6feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    23. 0x00007fff6e9ae764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
    24. 0x00007fff6e9ae8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
    25. 0x00007ff76e541e94 (Unity) scripting_method_invoke
    26. 0x00007ff76e521694 (Unity) ScriptingInvocation::Invoke
    27. 0x00007ff76ffdd111 (Unity) CallMono
    28. 0x00007ff76ffe53e7 (Unity) PostprocessPlayer
    29. 0x00007ff76ffdffcf (Unity) DoBuildPlayer_PostBuild
    30. 0x00007ff76ffddf9e (Unity) DoBuildPlayer
    31. 0x00007ff76ffd209d (Unity) BuildPlayer
    32. 0x00007ff76de15246 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
    33. 0x00007ff76dc2a870 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
    34. 0x000001e9b1770cc7 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
    35. 0x000001e9b1770493 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
    36. 0x000001e9b15fdae3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
    37. 0x000001e9b15c0ef3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
    38. 0x000001e9b15ae5d3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
    39. 0x000001e9b159a393 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
    40. 0x000001e70b30578a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
    41. 0x000001e70b3055a3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
    42. 0x000001e70b2f56eb (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
    43. 0x000001e70b21ebc7 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    44. 0x000001e70b2e0f5b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    45. 0x000001e9af50ec1b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
    46. 0x000001e9af50ea83 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
    47. 0x000001e9af50e5cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
    48. 0x000001e9af50e4b3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
    49. 0x000001e988a32f7b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
    50. 0x000001e988a21ba8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
    51. 0x000001e9af50b993 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    52. 0x000001e988a0fc9e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
    53. 0x000001e988a0f79b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    54. 0x000001e988a263ab (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
    55. 0x000001e988a24723 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
    56. 0x000001e988a2465b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
    57. 0x000001e988a0fa23 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    58. 0x000001e988a0f0d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
    59. 0x000001e988a0ef4b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
    60. 0x000001e988b68573 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    61. 0x000001e988b67f63 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    62. 0x000001e988b67d1f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
    63. 0x000001e988b67c3b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    64. 0x000001e988b67a8d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    65. 0x000001e988b67b46 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    66. 0x00007fff6ea6feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    67. 0x00007fff6e9ae764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
    68. 0x00007fff6e9ae8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
    69. 0x00007ff76e541e94 (Unity) scripting_method_invoke
    70. 0x00007ff76e521694 (Unity) ScriptingInvocation::Invoke
    71. 0x00007ff76e51c295 (Unity) ScriptingInvocation::Invoke<void>
    72. 0x00007ff76e6665aa (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
    73. 0x00007ff76f09a5a8 (Unity) GUIView::ProcessRetainedMode
    74. 0x00007ff76f5ebb51 (Unity) GUIView::OnInputEvent
    75. 0x00007ff76f09a4f3 (Unity) GUIView::ProcessInputEventFromAPI
    76. 0x00007ff76f09a3c8 (Unity) GUIView::ProcessInputEvent
    77. 0x00007ff76f5ec96d (Unity) GUIView::ProcessEventMessages
    78. 0x00007ff76f5e6629 (Unity) GUIView::GUIViewWndProc
    79. 0x00007fffdff78231 (USER32) DispatchMessageW
    80. 0x00007fffdff77cf1 (USER32) DispatchMessageW
    81. 0x00007ff76f5c0e43 (Unity) MainMessageLoop
    82. 0x00007ff76f5c588b (Unity) WinMain
    83. 0x00007ff7709a315e (Unity) __scrt_common_main_seh
    84. 0x00007fffdee5269d (KERNEL32) BaseThreadInitThunk
    85. 0x00007fffe040a9f8 (ntdll) RtlUserThreadStart
    86.  
    Do you know anything about this?
     
  10. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
    Share the complete error under CommandInvocationFailure entry, if any.
     
  11. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Here you go!
    Code (CSharp):
    1. CommandInvokationFailure: Gradle build failed.
    2. C:\Program Files\Java\jdk1.8.0_77\bin\java.exe -classpath "C:\Users\scsta\Desktop\2021.3.22f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    3.  
    4. Environment Variables:
    5. USERDOMAIN = DESKTOP-98O7B7I
    6. ProgramFiles = C:\Program Files
    7. LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
    8. TMP = C:\Users\scsta\AppData\Local\Temp
    9. PROCESSOR_ARCHITECTURE = AMD64
    10. PROCESSOR_REVISION = 8e0a
    11. OneDriveConsumer = C:\Users\scsta\OneDrive
    12. OS = Windows_NT
    13. CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_21964_YGHUEALIEMBHMXPO
    14. PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
    15. ProgramW6432 = C:\Program Files
    16. USERPROFILE = C:\Users\scsta
    17. JAVA_HOME = C:\Program Files\Java\jdk1.8.0_77
    18. CommonProgramFiles = C:\Program Files\Common Files
    19. DriverData = C:\Windows\System32\Drivers\DriverData
    20. ComSpec = C:\WINDOWS\system32\cmd.exe
    21. AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
    22. PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
    23. ANDROID_NDK_ROOT = C:\Users\scsta\Desktop\2021.3.22f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
    24. SystemRoot = C:\WINDOWS
    25. HEAP_CLIENT_TOKEN = 1717415662
    26. NUMBER_OF_PROCESSORS = 8
    27. WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
    28. JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
    29. DEBUG_ENV_VAR = UnityHub
    30. BURST_ANDROID_MIN_API_LEVEL = 22
    31. CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
    32. HOMEDRIVE = C:
    33. TEMP = C:\Users\scsta\AppData\Local\Temp
    34. Path = C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\dotnet\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\scsta\AppData\Local\Microsoft\WindowsApps;C:\Users\scsta\.dotnet\tools;
    35. USERNAME = scsta
    36. COMPUTERNAME = DESKTOP-98O7B7I
    37. EFC_18292 = 1
    38. PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    39. SystemDrive = C:
    40. ALLUSERSPROFILE = C:\ProgramData
    41. SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
    42. HEAP_CLIENT_TOKEN_STAGING = 3786794399
    43. windir = C:\WINDOWS
    44. AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
    45. PUBLIC = C:\Users\Public
    46. SynaProgDir = Dell\Touchpad
    47. APPDATA = C:\Users\scsta\AppData\Roaming
    48. OneDrive = C:\Users\scsta\OneDrive
    49. PROCESSOR_LEVEL = 6
    50. CommonProgramW6432 = C:\Program Files\Common Files
    51. ProgramFiles(x86) = C:\Program Files (x86)
    52. SESSIONNAME = Console
    53. LOGONSERVER = \\DESKTOP-98O7B7I
    54. LOCALAPPDATA = C:\Users\scsta\AppData\Local
    55. HOMEPATH = \Users\scsta
    56. LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
    57. __COMPAT_LAYER = DetectorsAppHealth
    58. USERDOMAIN_ROAMINGPROFILE = DESKTOP-98O7B7I
    59. ProgramData = C:\ProgramData
    60. ORIGINAL_XDG_CURRENT_DESKTOP = undefined
    61.  
    62.  
    63. stderr[
    64.  
    65. FAILURE: Build failed with an exception.
    66.  
    67. * Where:
    68. Build file 'C:\Users\scsta\Desktop\UnitySawyer\Sawyer's Tower\Library\Bee\Android\Prj\IL2CPP\Gradle\UnityDataAssetPack\build.gradle' line: 1
    69.  
    70. * What went wrong:
    71. A problem occurred evaluating project ':UnityDataAssetPack'.
    72. > Plugin with id 'com.android.asset-pack' not found.
    73.  
    74. * Try:
    75. 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.
    76.  
    77. * Get more help at https://help.gradle.org
    78.  
    79. BUILD FAILED in 15s
    80. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    81. ]
    82. stdout[
    83. Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
    84.  
    85. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    86. Use '--warning-mode all' to show the individual deprecation warnings.
    87. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    88. ]
    89. exit code: 1
    90. UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    91. UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    92. UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    93. UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    94. 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 <d9aa0349546a4daeaefd100a44ff9f59>:0)
    95. Rethrow as GradleInvokationException: Gradle build failed
    96. 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 <d9aa0349546a4daeaefd100a44ff9f59>:0)
    97. UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    98. UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    99. Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    100. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    101. UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    102. UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    103. UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <d9aa0349546a4daeaefd100a44ff9f59>:0)
    104. 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 <964670f15c6b47f9b8f9340732720473>:0)
    105. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    106.  
    Once again, thank you so much!
     
  12. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,855
    Do you use any asset pack related plugins?
     
  13. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    From the Unity asset store I got a pixel art editor, and a joystick pack. From the unity registry in the package manager I have things for ads.
     
  14. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    Sorry, was that the wrong information?
     
  15. NotTef

    NotTef

    Joined:
    Mar 28, 2023
    Posts:
    1
    did you fix the issue or not yet?
     
  16. Noodle_Meanie

    Noodle_Meanie

    Joined:
    Sep 11, 2021
    Posts:
    110
    No, but Voxel-Busters is helping me. Are you having problems with this too?