更新时间:2023-09-29 22:19:22
在Intellij 2019.2之前:
在"Gradle设置"下,必须确保没有选中委托IDE构建/运行操作以进行gradle"
Under Gradle Settings, you have to make sure you don't have checked 'Delegate IDE build/run actions to gradle'
自Intellij 2019.2起:
设置现在位于"构建,执行,部署>构建工具> Gradle "下.您必须选择 Build and using : Intellij IDEA
Settings is now under 'Build, Execution, Deployment > Build Tools > Gradle'.
You have to select Build and run using : Intellij IDEA
在jetbrains错误跟踪器上已打开问题.
An issue has been opened on jetbrains bug tracker.