0

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

5
  • 1
    Actually, pictures are not uniformly easy to read. They are discouraged on Stack Overflow for this reason. Read more about why you should not use pictures of errors. Commented Aug 4 at 12:22
  • 1
    Please try running through Debugging the Game Build, Install and Run Process and reporting your findings and logs. This is much more likely to help you with the peculiarities of the way Unity handles the Android SDK than trying to modify directly without guidance. Commented Aug 4 at 16:33
  • In the error pictures you can see this gradle plugin is tested upto 33, so try using android studio SDK dir. Alternatively, Check with older Unity version, if builds then export project and build with studio. Commented Aug 4 at 16:35
  • @JoeSpiro I tried your suggestion (as told in the linked post), still the same issue Commented Aug 7 at 8:57
  • May I know whether the Android SDK and newer versions 36 are installed? By seeing the attached screenshots Commented Aug 7 at 9:28

1 Answer 1

0

I upgraded the Unity project to version 6000.1.9f1 and all issues are fixed!

But error messages aren't very clear!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.