0

Eclipse info.,

  • Version: Indigo Service Release 2
  • Build id: 20120216-1857

And here's a link to the resulting "Problems" view tab. And I've tried refreshing the Gradle Dependencies, but it's not resolving the errors. And I have JavaFX 2.1 installed.

4

2 回答 2

0

我解决了“未解决的 gradle 依赖”错误。

问题?

JAVAFX_HOME缺少环境变量。

解决方案

  1. 使用路径添加JAVAFX_HOME环境变量%YOUR_INSTALL_PATH%\JavaFX 2.1 Runtime
  2. 重启机器
  3. 在 IDE 中打开项目(例如 Eclipse)
  4. 刷新 gradle 依赖项
于 2012-08-09T15:10:59.707 回答
0

该错误意味着无法解析构建脚本中声明的依赖项。换句话说,在构建脚本中声明的任何存储库中都找不到依赖项。gradle dependencies应该给出类似的错误。

于 2012-07-28T00:11:28.303 回答