Android Build getting failed

As you can see in the below screenshot my android build is getting failed. It is a multi-module project. I don’t know what are the reasons as the logs are not clearly defined and if i run those tasks on my local then they run very smooth and gets successful. And if i re-run this task then some sort of like this but different exceptions came up. I don’t know what are the reasons. Kindly help me out as idk why but i feels this issue is something related to CircleCI.