Error:
Invalid command android UnityEditor.HostView:OnGUI()
CommandInvokationFailure:
Unable to list target platforms. Ple
I solved the problem by uninstalling JDK 9.