分析在 WTK 模拟器上不起作用

发布于 2024-07-30 03:06:03 字数 272 浏览 3 评论 0原文

它曾经有效,所以我知道会发生什么。 您运行模拟器,一旦完成并关闭它,就会弹出一个分析窗口,并为您提供在不同方法中花费的时间的摘要。

它似乎已经停止为我工作了。 我在模拟器中运行我的应用程序,关闭它并在控制台上获取此内容:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜点 2024-08-06 03:06:03

是的,如果我的 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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文