模块……不受 gradle 支持 - Module … is not backed by gradle

问题:

I'm using IntelliJ IDEA Pro 13.1.2.我正在使用 IntelliJ IDEA Pro 13.1.2。 Never used any versions below 13.从未使用过任何低于 13 的版本。

When trying to run build.gradle from IDE I get the message:尝试从 IDE 运行build.gradle ,我收到以下消息:

Module is not backed by gradle模块不受 gradle 支持

I can run this script from the command line just fine.我可以从命令行运行这个脚本就好了。

The "root" directory has both .gradle and gradle sub-directories and, in general its structure is very similar to another module from the same project where I can run its build from IDE without problems. “根”目录具有.gradlegradle子目录,通常它的结构与同一个项目中的另一个模块非常相似,我可以从 IDE 运行它的构建而不会出现问题。

Any suggestions on further troubleshooting?有关进一步故障排除的任何建议?


解决方案:

参考: https://stackoom.com/en/question/1aiTD
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章