Android build error

Hi guys, I’m trying to build an Android game and keep getting these errors. Can anyone help me to fix them?

Nvm, fixed this by downgrading JDK to version to 8.0.