Can't build to android

been trying to build my project for 3 days, i get the following errors?

CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.
C:/Program Files/Java/jdk-9.0.1\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir=“C:\Users\MSI\AppData\Local\Android\Sdk\tools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

i’ve tried changing the sdk tools to old versions didnt work
tried copying zipalign file to sdk tools, nothing

use older java version,

i’m using jdk1.8.0_151

[quote=“mgear, post:2, topic: 686171, username:mgear”]
use older java version,
https://issuetracker.unity3d.com/issues/android-builds-fail-with-java-9-jdk-and-unable-to-list-target-platforms-error

i’m using jdk1.8.0_151
[/quote]
same problem… is this what it should look like ?

that jdk folder looks same as mine,
you probably need to uninstall java9, if its still there.