我在Windows Phone 8日志失败的错误日志中看到此消息。
[01/19/16 12:18:58.565] ERROR: Oh no, XMLVM needs more memory. Try running with -Xmx1G or more.
认为你可以为我提供-Xmx设置吗?如果这不是问题,那么日志中也有更高的值:
[01/19/16 12:04:20.276] ERROR: Couldn't create node for com.codename1.impl.ImplementationFactory
[01/19/16 12:04:20.276] ERROR: Couldn't create node for com.codename1.impl.ImplementationFactory
而这个降低了(但我认为这是XMLVM退出的一个症状,没有完成):
Main.cs(10,28): error CS0234: The type or namespace name 'Object' does not exist in the namespace 'java.lang' (are you missing an assembly reference?) [C:\Users\Shai\AppData\Local\Temp\build3939039400849280052xxx\App\App\App.csproj]
Main.cs(10,45): error CS0234: The type or namespace name 'Runnable' does not exist in the namespace 'java.lang' (are you missing an assembly reference?) [C:\Users\Shai\AppData\Local\Temp\build3939039400849280052xxx\App\App\App.csproj]
答案 0 :(得分:2)
通过Codename One discussion group查看我发现了这个:https://groups.google.com/d/msg/codenameone-discussions/gyjS81rpR3w/nSVxzWOJdXEJ
所以我想只需添加构建提示2,5
1,3,5
6,8
即可解决该问题。