Did you already try: https://forum.unity.com/threads/commandinvokationfailure-gradle-build-failed.479460/#post-3433528