Packaging for android fails with gradle error

Has any one able to fix this. It’s like the blue screen of death. While Epic is enjoying the holidays we are going to enjoy fixing their creation.