IntelliJ IDEA无法在macOS Catalina上打开项目或添加SDK [英] IntelliJ IDEA can't open projects or add SDK on macOS Catalina

查看:415
本文介绍了IntelliJ IDEA无法在macOS Catalina上打开项目或添加SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我打开IntelliJ IDEA并尝试导入任何项目或打开任何包含项目的文件夹,什么都没有发生,我只是返回到此屏幕.

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.

更早之前,在我移动项目文件之前,我尝试为项目设置新的JDK,然后单击添加SDK,然后选择Java 12 home,然后再次返回屏幕而不添加任何内容.

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.

我需要授予IntelliJ Idea许可吗?

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

自安装MacOS Catalina以来似乎已经开始.

Seems to have started since installing MacOS Catalina.

推荐答案

这是已知问题特定于最新的macOS Catalina更新.请关注YouTrack的票证以获取更新.

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

您还可以通过在YouTrack中提供以下信息来提供帮助:

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

打开文件选择器,选择一个目录(但尚未打开),截屏,然后打开目录;然后附加 idea.log 和屏幕截图(项目路径和时间)也需要执行该操作,但是从屏幕截图中应该可以猜到它们.

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).

作为解决此问题之前的解决方法,可以在帮助" |添加"中添加"-Dide.mac.file.chooser.native=false".编辑自定义VM选项",然后重新启动IDE.

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.

这篇关于IntelliJ IDEA无法在macOS Catalina上打开项目或添加SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆