c# – Unity build failed; CommandInvokationFailure: Gradle build failed

Unity: 2023.2.18f1

Selected Platform: Android

Firebase SDK: 12.10.1

External Dependency Manager for Unity: 1.2.186

enter image description here

enter image description here

enter image description here

enter image description here

Facing CommandInvokationFailure: Gradle build failed. issue. I have tried all the suggested solutions, like

  • updating all the plugins in the Package Manager,
  • updated the Android SDK to the latest 36
    enter image description here

enter image description here

  • deleted resolved libraries, and Force resolve again
  • Deleted Logs folder after closing Unity, and regenerated the Logs folder

Any other suggestions to solve this issue

Pictures are easy to read, so I added screenshots of the issue

Read more here: Source link