SDK Tools not working

The Android SDK tools are not working. I have gone through forum after forum and tried all different versions of SDK tools. I have installed Android studio, tried replacing the tools with all typed of versions and still the same error. The path is set correctly, but the issue persists.
108993-error.png

Not sure what else to try and i can not update my game until it is fixed.
I currently have the latest version of Unity, with the latest version of SDK tools and still will not work.

same problem, tried both jdk 8 and 9. Can t build for android with unity 2017