错误:Symbian SDK 错误 - 无法初始化会话
我之前尝试过处理这个问题,大约8个月前,当时我没有找到解决方案,现在也没有真正的解决方案。
我下载了诺基亚 Symbian-3 SDK 0.8 - 今天最新的,我有 Java 1.6.0.13、Eclipse 3.5 和 winXP sp3,当我尝试从 IDE 运行模拟器时,在“连接到代理”步骤中,调试/run 失败,并且我收到此错误:“Symbian SDK 错误 - 无法初始化会话”,我查看了诺基亚论坛,并在几个月前给诺基亚写了一封关于此问题的电子邮件,但他们可能不在乎,因为我没有得到回复,所以也许这里有人遇到了这个错误并找到了解决方法。
以下是 Eclipse 错误日志中的堆栈跟踪:
java.io.IOException: Debugger launch time-out exceeded
at
org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.waitForRemoteDebugger(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.createVirtualMachine(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.runInDebug(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.run(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorLaunchConfigDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
谢谢,
亚当.
I've tried to deal with this before, about 8 months ago, I didn't find a solution for this then, and also now there is no real solution for it.
I downloaded the Nokia Symbian-3 SDK 0.8 - the newest today, I have Java 1.6.0.13, Eclipse 3.5 and winXP sp3, and when I try to run the emulator from the IDE, on the "Connect to agent" step, the debug/run fails, and I get this Error: "Symbian SDK Error - Failed to initialize session", I've looked on Nokia forums, and wrote Nokia an Email few months ago about this, but they probably don't care, since I got no reply, so perhaps someone here faced this error and found a way around it.
Here is the stack-trace from Eclipse error log:
java.io.IOException: Debugger launch time-out exceeded
at
org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.waitForRemoteDebugger(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.createVirtualMachine(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.runInDebug(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorRunner.run(Unknown Source)
at org.eclipse.mtj.internal.core.launching.midp.EmulatorLaunchConfigDelegate.launch(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Thanks,
Adam.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,
这很有趣,没有人回答这个问题...
解决方案很简单,转到:项目->右键单击->属性->J2Me->Nokia SDK->编辑->编辑
在组合框中选择SymbianEmulator和NOTSymbianDevice,就是这样,它可以工作。
亚当.
Well,
That is funny that no one replied on this question...
The solution is simple, go to: Project->Right click->Properties->J2Me->Nokia SDK->Edit->
and in the combo box SELECT the SymbianEmulator and NOT the SymbianDevice, and thats it, it works.
Adam.