CommandInvokationFailure: Gradle build failed.

Hello, Unity developers, I am developing a game for Android and I am using Facebook SDK but the problem is in building as I can’t build the game. Please have a look at the following pictures I attached.
Please help me I am stuck from the past 2 days and I tried everything I could, I searched on the internet but unable to find a solution. please help me.

I solved it by changing the Company Name in player settings to the lower case without any spaces.