由于错误907,无法在BlackBerry上安装应用程序 [英] Unable to install application on BlackBerry due to Error 907

查看:111
本文介绍了由于错误907,无法在BlackBerry上安装应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发PhoneGap应用程序(针对BlackBerry OS 6/7).该应用程序在Ripple Emulator上运行良好,并在PhoneGap Build Service上构建了OK.

I am presently developing a PhoneGap application ( targeting BlackBerry OS 6/7 ).The application runs fine on the Ripple Emulator, and builds OK on the PhoneGap Build Service.

当我尝试在物理测试设备(BlackBerry Curve 9300)上通过PhoneGap构建无线安装时,我不断收到"907错误"的变化-无效的Jar/无效的鳕鱼等.我也尝试过可以从我自己的服务器上安装,具有我创建和验证的JAD以及正确设置的MIME类型-效果相同.

When I try to install over-the-air from PhoneGap build on a physical test device ( a BlackBerry Curve 9300 ), I constantly get variations of the "907 error" - invalid Jar / Invalid cod etc. I have also tried to install from my own server, with a JAD that I created and verified, and with MIME types correctly set - with the same result.

当我尝试通过BlackBerry Desktop软件进行安装时,出现静默故障",即BB Desktop只是循环返回到应用程序列表,而没有安装软件.

When I attempt the installation via BlackBerry Desktop software, I get "silent failures" ie BB Desktop simply loops back to the application list, without installing the software.

我搜索了BlackBerry论坛和知识库,并尝试应用其中包含的建议.例如:

I have searched through the BlackBerry forums and knowledge bases, and tried to apply the recommendations contained there. For example:

BlackBerry论坛条目出现907错误

知识基础文章

物理测试设备具有BlackBerry服务(推送电子邮件,BlackBerry App World等正在运行).到目前为止,这个问题已经定义了我解决该问题的尝试(尽管我还没有放弃).我应该考虑的任何指针?

The physical test device has BlackBerry service ( push email, BlackBerry App World etc are working ). This problem has so far defined my attempts to resolve it ( although I am not giving up yet ). Any pointers in what I should consider?

推荐答案

我找到了这头907的原因.

I found the cause of this 907.

我的已编译应用程序具有127个以上的同级COD.在传统" BlackBerry(最高为Blackberry 7;我不确定这种行为是否会扩展到BB10和PlayBook)上,应用程序不能具有超过127个同级COD.

My compiled application had more than 127 sibling CODs. On "traditional" BlackBerry ( up to Blackberry 7; I am not sure this behavior extends to BB10 and PlayBook ), an application cannot have more than 127 sibling CODs.

也存在绝对大小限制,这与每个COD的大小限制为128kB(64kB数据/64kB代码)有关.因此,实际的绝对大小限制取决于应用程序的哪一部分是代码,什么部分是数据(严格分开).

There are also absolute size limits, related to the fact that each COD has a size limit of 128kB ( 64kB Data / 64kB code ). The practical absolute size limit is therefore dependent on what fraction of your app is code and what fraction is data ( there is a strict separation ).

尽管有此限制,但我目前最头疼的是如何将我的内容嵌入到应用程序中.我已经将其发布为一个独立的问题:

My current headache is on how to embed my content in the app, in spite of this limit. I have posted that as an independent question:

我需要嵌入> BlackBerry Webworks Application(或BlackBerry 6/7)中的4MB内容文件.我有什么选择?

这篇关于由于错误907,无法在BlackBerry上安装应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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