IntelliJ IDEA can't open projects or add SDK o

2020-08-26 11:10发布

If I open IntelliJ IDEA and try and import any project or open any folder containing a project, nothing happens, I'm just returned to this screen.

enter image description here

Earlier on, before I moved my project files around, I tried to set a new JDK for a project and i clicked add SDK and then selected Java 12 home and again it returned to the screen without adding anything.

Is there some permission I need to grant to IntelliJ Idea?

Seems to have started since installing MacOS Catalina.

4条回答
戒情不戒烟
2楼-- · 2020-08-26 11:25

I can temporarily open things by dragging a folder to that window it seems, but its' not ideal.

查看更多
叛逆
3楼-- · 2020-08-26 11:42

Faced the same problem after the (PyCharm) update. Workaround: Go back to the old version.

https://stackoverflow.com/a/59858297/7024760

查看更多
我命由我不由天
4楼-- · 2020-08-26 11:44

Mac OS, Mojave or Catalina, Exit intellij first,

  1. Apple menu  > System Preferences, click Security & Privacy, then click Privacy.
  2. Click the lock , then enter your administrator password.
  3. From the list of items on the left, select Full Disk Access.
  4. Add Intellij(or other whatever app having this problem) to the apps allowed full-disk access by using the add button.

Lock and try again.

Hope this will help.

Ref from apple support of other things, but I tried, it works!

查看更多
该账号已被封号
5楼-- · 2020-08-26 11:46

It's a known issue specific to the recent macOS Catalina update. Please follow YouTrack ticket for updates.

You can also help by providing the following information in YouTrack:

Open the file chooser, select a directory (but don't open it yet), take a screenshot, then open a directory; then attach idea.log and the screenshot (a path to a project and a time of the operation are needed, too, but they should be guessable from the screenshot).

As a workaround until this issue is resolved you can add -Dide.mac.file.chooser.native=false in Help | Edit Custom VM Options and restart the IDE.

查看更多
登录 后发表回答