gpt4 book ai didi

android - 找不到包含 : osgi. 包和 org.eclipse.update.feature 的存储库

转载 作者:太空宇宙 更新时间:2023-11-03 10:50:01 30 4
gpt4 key购买 nike

我正在尝试将我的 Android 应用链接到 Github 存储库。

按照 EGit 用户指南,我首先创建了一个新的 Git 存储库,但是当尝试添加到版本控制时(“团队”->“添加到版本控制”),这个选项也不在我的列表选项中推送、提交、合并等等。我只能选择 Apply Patch 或 Share Project。

所以我猜我遗漏了协作部分的一些软件。因此,我尝试安装缺少的 Git 东西:命令行界面和 Mylyn Versions Connector。

当我尝试安装该软件时,eclipse 根据一些存储库错误遇到问题:osgi.boundleorg.eclipse.update.feature .

An error occurred while collecting items to be installed session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,org.eclipse.jgit.iplog,2.1.0.201209190230-r
No repository found containing: osgi.bundle,org.eclipse.jgit.pgm,2.1.0.201209190230-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.pgm,2.1.0.201209190230-r
No repository found containing: osgi.bundle,org.eclipse.jgit.ui,2.1.0.201209190230-r
No repository found containing: osgi.bundle,org.eclipse.mylyn.git.core,1.0.2.v20120916-1200
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.git,1.0.2.v20120916-1200
No repository found containing: osgi.bundle,org.eclipse.mylyn.git.ui,1.0.2.v20120916-1200
No repository found containing: osgi.bundle,org.eclipse.mylyn.versions.core,1.0.2.v20120916-1200
No repository found containing: org.eclipse.update.feature,org.eclipse.mylyn.versions,1.0.2.v20120916-120
No repository found containing: osgi.bundle,org.eclipse.mylyn.versions.ui,1.0.2.v20120916-1200
No repository found containing: osgi.bundle,org.kohsuke.args4j,2.0.12.v200910131500

我一直在寻找其他一些帖子,比如 this one关于存储库错误,他们建议删除更新站点并重新安装。我已经完成了,但我一直收到同样的错误。

实际上我有以下可用的软件站点:

  • Android 开发者工具更新站点:dl-ssl.google.com/android/eclipse/
  • Eclipse 更新:download.eclipse.org/eclipse/updates/4.2
  • Eclipse 更新站点 4.3:download.eclipse.org/eclipse/updates/4.3milestones
  • Juno:download.eclipse.org/releases/juno

我在 Windows 7 - 64 位上使用 ADT Build:v21.0.1-543035。

最佳答案

命令行界面和 Mylyn 版本连接器都是可选的,对于常见用例来说不是必需的。

使用Share Project... 首先将项目连接到新创建的 Git 存储库。之后,您应该在团队菜单中有更多选项。然后您可以使用添加到索引将文件添加到版本控制。

至于为什么安装附加功能不起作用,可能是您选错了更新站点。目前,EGit 2.2 是最新的稳定版本(很快就是 2.3)。因此,您可能需要先更新到最新版本,然后再安装其他功能。

关于android - 找不到包含 : osgi. 包和 org.eclipse.update.feature 的存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14924026/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com