我怎样才能安装BlackBerry V5.0.0组件包到Eclipse? [英] How can I install the BlackBerry v5.0.0 component pack into Eclipse?

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

问题描述

我试图安装最新的V5.0.0公测2黑莓OS组件包到Eclipse 3.4.2黑莓Eclipse插件v1.0.0.67,但打了几个问题。有没有人发现了一个简单的方法来做到这一点?

我没有任何麻烦,安装 V4.5.0和V4.7.0组件包

这是相当奇怪的是,BlackBerry已安装了V5.0.0 OS出货的新款手机(如风暴2 9550和9700,我刚买),推动了更新的手机,同时的黑莓网站仍然认为V5.0.0 SDK /组件包是测试版2!如果有人知道,当一个官方的非测试组件包将被释放,可能解决我的问题...

在情况下,它可以帮助,我已经打的问题,到目前为止是:结果
-Contrary对黑莓网站,在Eclipse的软件更新...为V5.0.0组件包选项声称它只工程对Eclipse的V1.0.0插件黑莓手机,而不是新的1.1版的。结果
-I然后试图通过Eclipse中的软件更新...菜单安装V5.0.0组件包使用的Eclipse V1.0.0插件的黑莓手机。一旦我做了200MB下载安装一个无效的zip文件格式错误而失败。结果
- 我可能只是一直不走运了损坏的下载,但我也尝试了两次,一次通过软件更新...,一旦选择归档安装下载的组件包(它不像V4.5.0和V4.7.0是一个JAR,而不是一个ZIP)。


解决方案

他们(RIM支持)确实经历与他们为您安装在网站上的zip一些问题。结果
见<一href=\"http://supportforums.blackberry.com/t5/Java-Development/Error-installing-Blackberry-plug-in-for-Eclipse/m-p/80371;jsessionid=4A478B4FB5E2F6B1222CE631925EB03A\"相对=nofollow>此线程

如果你看到未连接的插座不落实之前的无效的zip文件格式,如:

  osgi.bundle,net.rim.eide.doc,1.0.0.67。
    异常连接
    https://www.blackberry.com/Downloads/auth/contactForm$p$pload.do?$c$c=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    未连接的插座不落实异常连接
    https://www.blackberry.com/Downloads/auth/contactForm$p$pload.do?$c$c=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    未连接的插座不落实
  错误闭输出流为
  net.rim.eide.feature.componentpack4.3.0 / org.eclipse.update.feature / 4.3.0.16
  在库文件:/ C:/月食/。错误解压
  C:\\DOCUME~1\\tysonl\\LOCALS~1\\Temp\
et.rim.eide.feature.componentpack4.3.0_4.3.0.169073623197643742544.jar:
  无效的zip文件格式错误关闭的输出流
  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 Temp文件夹以及(Eclipse的可能缓存文件的坏副本)。结果
  这应该固定在JDK 1.6更新14。


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

正如在同一线程中提到:


  

    

以下是从为Eclipse插件黑莓下载页面:


    
    

建议在北美或用户以外的用户谁经历与BlackBerry更新站点问题使用下面的链接手动下载并安装这些组件。


  
  
  

是的,我读过一点。这是本质是什么我试图做的。什么,不说是你需要尝试通过归档功能来安装手动下载之前,从您的网站列表中删除更新站点。


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?

I had no trouble installing the v4.5.0 and v4.7.0 Component Packs.

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...

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).

解决方案

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

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

, the support mentions:

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.

(so what version of java are you using?)

As mentioned in the same thread:

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

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天全站免登陆