无法安装Google api Eclipse插件



我正在尝试安装Google api Eclipse插件,在Eclipse v3.7 (Indigo)上。我从本地的存档副本(ZIP文件)和通过Eclipse的"安装新软件"功能在线尝试了两种方法,但都无法使其正常工作。相反,我经常收到这些消息:

出现多个问题:
在"Install download0"过程中出现内部错误。
安装download0
安装download0
安装download1
安装download2
安装download2

点击更多信息会显示:

出现内部错误:"Install download0".
比较法违反其总合同!

错误日志显示:

    Error closing the output stream for osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245 on repository file:/C:/eclipse/.
    Stack trace:
    eclipse.buildId=I20110613-1736
    java.version=1.7.0_09
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    Command-line arguments:  -os win32 -ws win32 -arch x86
    This is a continuation of log file C:UsersHiromiworkspace.metadata.bak_0.log
    Created Time: 2013-05-25 21:15:24.600
    Error
    Sat May 25 21:22:55 BST 2013
    Error closing the output stream for osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245 on repository file:/C:/eclipse/.
    java.io.IOException: Error unzipping C:UsersHiromiAppDataLocalTemporg.eclipse.m2e.maven.runtime_1.0.200.20111228-12454266317341648757159.jar: Invalid zip file format
at org.eclipse.equinox.internal.p2.core.helpers.FileUtils.unzipFile(FileUtils.java:75)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ZippedFolderOutputStream.close(SimpleArtifactRepository.java:185)
at java.io.FilterOutputStream.close(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository$ArtifactOutputStream.close(SimpleArtifactRepository.java:113)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:244)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:191)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:122)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:664)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

也:

No repository found containing: osgi.bundle,com.ning.async-http-client,1.6.3.201112281337

:

No repository found containing: osgi.bundle,org.jboss.netty,3.2.4.Final-201112281337

我100%确定我正在下载Eclipse 3.7版本的插件,并且互联网上列出的其他修复程序都没有帮助。任何帮助都非常感激,如果需要任何其他信息,我很乐意提供它-非常感谢!

你必须从这里下载Android Development Bundle。只需一次下载,ADT Bundle就包含了开始开发应用程序所需的一切:

Eclipse + ADT插件

Android SDK Tools

Android平台工具

最新Android平台

模拟器的最新Android系统映像

您可以在properties->java compiler中设置java 6而不是7。

更新你的eclipse,我记得有同样的问题。为什么要用3.7呢

相关内容

  • 没有找到相关文章

最新更新