Neither float nor double works on Blackberry OS 4.5

☆樱花仙子☆ 提交于 2019-12-11 14:25:37

问题


As soon as I add a float or a double variable to my program, it stops working on BB models 8100 and 8800, both running OS 4.5.

I have a couple of newer phones with OS 5 and 6, respectively, and the same binary works just fine on those.

Why would this be?

Also, see "Float or double on Blackberry?" which led to this question.

When the application is started, before it really starts, it shows an error message to the effect of "modules bla blah can not verify blah". I'll update the message to the real one when I get a chance to start the broken app again.


回答1:


Your quoted error message is still "modules bla blah can not verify blah", which is kind of vague, but it sounds like you are building against a SDK that is newer than BlackBerry OS 4.5, and then trying to deploy the app to a 4.5 device.

It's possible that float and double are the first references that pull in modules that don't exist on OS 4.5, so it appears to you that they are breaking your app, when it is really a build issue.



来源:https://stackoverflow.com/questions/5964762/neither-float-nor-double-works-on-blackberry-os-4-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!