Invalid Project SDK
已回答
Hello !
Well, here's my problem. I've been working with a friend on a project (he's running IntelliJ on mac and I'm on windows) and even though we've got the same version of java running (1.8.0_201), IntelliJ keeps on saying that the sdk is invalid. Does anybody know how we could fix this ? It's a bit of pain to have to change the sdk each time one of us wants to work on the project...

请先登录再写评论。
You have the SDKs named differently, make sure they have exactly the same name in Project Structure SDKs. The default name is 1.8 for Java 8 version.
You have it named 1.8_201, while your friend uses 1.8.0_201.
Haha thanks a lot ! Guess the (java version "1.8.0_201") was a bit misleading :')