I was trying to build my latest Android Unity game and I got this error: Unity's Build Failure - Compilation failed; see the compiler error output for details... CommandInvokationFailure: Gradle build failed... and so much more error messages that I don't understand. Then I tried to change some settings on my player settings like in this video then problem solved, I got my apk file generated like a charm.