在Eclipse中安装Thym时出错

时间:2015-04-07 20:33:08

标签: java android eclipse

当我在Eclipse中安装THyM时,会发生以下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Hybrid Mobile Application Development Tools 0.2.0.201503172021 (org.eclipse.thym.feature.feature.group 0.2.0.201503172021)
  Missing requirement: Hybrid Mobile App. Dev. Core 0.2.0.201503172021 (org.eclipse.thym.core 0.2.0.201503172021) requires 'bundle com.google.gson [2.1.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Hybrid Mobile Application Development Tools 0.2.0.201503172021 (org.eclipse.thym.feature.feature.group 0.2.0.201503172021)
    To: org.eclipse.thym.core [0.2.0.201503172021]

我该如何解决?是否需要预先安装任何东西?

2 个答案:

答案 0 :(得分:6)

此更新站点包含com.google.gson:

Eclipse Code Recommenders Update Site
http://download.eclipse.org/recommenders/updates/stable/

添加它(只需添加,您无需直接从中安装任何内容)。使用更新站点安装THyM:

THyM Update Site
http://download.eclipse.org/thym/releases/latest/

答案 1 :(得分:0)

我在安装今天的最新版本(2.0.2)时遇到类似问题,原因是它需要jgit 3.0.0-5.0.0,而我的版本是5.0.4。 我通过安装最新的快照版本(2.1.0)来解决:您可以在https://wiki.eclipse.org/THyM

处阅读存储库URL。