如何将BlackBerry v5.0.0组件包安装到Eclipse中? [英] How can I install the BlackBerry v5.0.0 component pack into Eclipse?

查看:229
本文介绍了如何将BlackBerry v5.0.0组件包安装到Eclipse中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用BlackBerry Eclipse插件v1.0.0.67将最新的v5.0.0beta 2BlackBerry OS组件包安装到Eclipse 3.4.2中,但是遇到了一些问题。有没有人找到一个简单的方法来做到这一点?

I'm trying to install the latest v5.0.0 "beta 2" BlackBerry OS Component Pack into Eclipse 3.4.2 with BlackBerry Eclipse plugin v1.0.0.67, but have hit a few problems. Has anybody found an easy way to do this?

安装 v4.5.0和v4.7.0组件包

很奇怪,BlackBerry正在发货安装了v5.0.0操作系统的手机(例如我刚购买的Storm 2 9550和Bold 9700),并将该更新推送到手机,而黑莓网站仍将v5.0.0 SDK /组件包视为beta 2!如果有人知道什么时候会发布官方的非beta组件包可能会解决我的问题...

It's rather strange that BlackBerry are shipping new phones with the v5.0.0 OS installed (e.g. a Storm 2 9550 and Bold 9700 that I just bought), and pushing that update to phones whilst the BlackBerry website still considers the v5.0.0 SDK / Component Packs to be "beta 2"! If anybody knows when an official non-beta Component Pack is going to be released that might solve my problem...

如果它有帮助,我遇到的问题到目前为止:

- 对的影响不大BlackBerry网站,Eclipse 软件更新...选项对于v5.0.0组件包声称它只适用于v1.0.0 Eclipse BlackBerry插件,而不是新的v1.1。

- 然后尝试安装v5.0.0组件包通过使用v1.0.0 Eclipse BlackBery插件的Eclipse中的软件更新...菜单。一旦我完成了200MB的下载安装失败与无效的zip文件格式的错误。

- 我可能只是不幸运的损坏的下载,但我尝试了两次,一次通过软件更新...,一次通过选择存档来安装下载的组件包(与v4.5.0和v4.7.0不同的是JAR,而不是ZIP)。

In case it helps, the problems I've hit so far are:
-Contrary to the implication on the BlackBerry website, the Eclipse "Software Update..." option for the v5.0.0 Component Pack claims it only works on the v1.0.0 Eclipse BlackBerry plugin, not the new v1.1 one.
-I then tried to install the v5.0.0 Component Pack through the "Software Updates..." menu in Eclipse using the v1.0.0 Eclipse BlackBery plugin. Once I'd done the 200MB download the install failed with a "Invalid zip file format" error.
-I might just have been unlucky with a corrupted download but I did try it twice, once through "Software Updates..." and once by selecting "Archive" to install the downloaded Component Pack (which unlike v4.5.0 and v4.7.0 was a JAR, not a ZIP).

推荐答案

他们(边框支持)确实遇到了一些与他们在网站上安装zip的问题。

请参阅这个线程

They (rim support) did experience some issue with the zip they have on the site for you to install.
See this thread

如果您看到未连接的套接字未实现 code>无效的zip文件格式,如:

If you see Unconnected sockets not implemented just before your Invalid zip file format, like:

osgi.bundle,net.rim.eide.doc,1.0.0.67.
    Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented
  Error closing the output stream for
  net.rim.eide.feature.componentpack4.3.0/org.eclipse.update.feature/4.3.0.16
  on repository file:/C:/eclipse/.  Error unzipping
  C:\DOCUME~1\tysonl\LOCALS~1\Temp\net.rim.eide.feature.componentpack4.3.0_4.3.0.169073623197643742544.jar:
  Invalid zip file format Error closing the output stream for
  net.rim.eide.feature.componentpack4.5.0/org.eclipse.update.feature/4.5.0.16

,支持提到:


未实现的未连接的套接字是由JDK 1.6当前版本中的错误引起的。

您可以通过降级到JDK 1.5(修改PATH和JAVA_HOME变量)来解决此问题安装插件。您可能需要删除Windows临时文件夹中的文件(Eclipse可能已缓存文件的不良副本)。

这应该在JDK 1.6更新14中修复。

The "Unconnected sockets not implemented" is caused by a bug in current versions of JDK 1.6.
You can work around this by downgrading to JDK 1.5 (modify your PATH and JAVA_HOME variables) to install the plug-ins. You may need to delete the files in your windows temp folder as well (Eclipse could have cached bad copies of the file).
This should be fixed in JDK 1.6 update 14.

(所以你使用什么版本的java?)

(so what version of java are you using?)

如同一个线程所述: / p>

As mentioned in the same thread:



以下是从黑莓插件for eclipse下载页面:

The following is from the "blackberry plugin for eclipse" download page:

建议在北美以外的用户或BlackBerry更新站点遇到问题的用户使用以下链接手动下载和安装组件。

It is recommended that users outside of North American or users who have experienced problems with the BlackBerry update site use the links below to manually download and install the components.

是的,我读了那一点。这本质上是我试图做的。您不需要从您的网站列表中删除更新站点,然后再尝试通过归档功能安装手动下载。

Yep, I've read that bit. That's essentially what I tried to do. What that doesn't say is you need to remove the update site from your site list before trying to install the manual downloads via the archive function.

这篇关于如何将BlackBerry v5.0.0组件包安装到Eclipse中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆