黑莓模拟器不创建 COD 文件
这是对在 Blackberry 模拟器中出现程序出现问题或生成 COD 文件时遇到问题的任何人的解答。
我一直使用 Eclipse IDE 在 JAVA 中进行编程,并且我的程序在 BB 模拟器中运行良好。创建新包并向我的项目添加更多类文件后,我注意到我的更改没有反映在模拟器中。经过无数个小时尝试解决问题(清理、运行 clean.bat、删除 cod 文件、创建新工作区等 - 没有任何效果),我刚刚在论坛上发现了解决我的问题的答案:
我的项目中有 116 个文件。我删除了两个包以使类数量低于 100,瞧,生成了一个新的 COD 文件,我的更改现在已反映在 Blackberry 模拟器中。这显然是 RIM 需要解决的一个 bug。我浪费了几天的时间来调试这个问题,直到找到解决方案。
希望这可以帮助有类似问题的人。
This is an answer to anyone having problems getting a program to appear in the Blackberry simulator or problems generating a COD file.
I have been programming in JAVA using the Eclipse IDE and my program was working fine in the BB simulator. After creating a new package and adding more class files to my project, I noticed that my changes were not being reflected in the simulator. After countless hours trying to solve the problem (cleaning, running clean.bat, deleting cod files, creating a new workspace, etc. - nothing worked) I just discovered an answer on a forum that solved my problem:
I had 116 files in my project. I deleted two packages to get the number of classes under 100 and, voila, a new COD file was generated and my changes are reflected now in the Blackberry simulator. This is obviously a bug that RIM needs to address. I wasted days debugging this until I found a solution.
Hoping this helps someone with similar problems.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用 Blackberry 已经有一段时间了,但是您应该检查两件事:
It's been a while from my Blackberry days, but there are two things you should check: