分析在 WTK 模拟器上不起作用
它曾经有效,所以我知道会发生什么。 您运行模拟器,一旦完成并关闭它,就会弹出一个分析窗口,并为您提供在不同方法中花费的时间的摘要。
它似乎已经停止为我工作了。 我在模拟器中运行我的应用程序,关闭它并在控制台上获取此内容:
Warning: Could not start new emulator process:
java.lang.NullPointerException
Result: 1
任何人都可以解释为什么会这样吗?
It used to work, so I know what's meant to happen. You run the emulator and once you're done with it and close it a profiling window pops up and gives you a summary of time spent in different methods.
It seems to have stopped working for me. I run my app in the emulator, close it and get this on the console instead:
Warning: Could not start new emulator process:
java.lang.NullPointerException
Result: 1
Can anyone perhaps explain why this might be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,如果我的 midlet 使用太多 CPU,我有时会收到此错误 - 大量重新绘制和处理。
另外,尝试使用 -Xmx512m 或 -Xmx1024m 参数为 JVM 提供更多内存(我不确定它是否有帮助)
Yes, I sometimes receive this error if my midlet uses too much CPU - lots of repaints and processing.
Also, try giving more memory to JVM with -Xmx512m, or -Xmx1024m params (I don't sure if it could help)