使用Scoreloop UI作为Intellij IDEA中的模块时编译错误

时间:2013-01-27 14:43:41

标签: android intellij-idea scoreloop

在我的Android项目中,我需要使用ScoreloopUI作为模块。

它在Eclipse中工作正常,但我想使用Intellij IDEA。

如果我创建一个只包含模块的项目,它可以正常工作。

我已将Scoreloop UI作为模块导入,添加了Android facet,选中“Library Module”框,并在我的项目中添加了模块依赖性。

当我运行,重建或制作时,它首先尝试创建Scoreloop UI模块,我有一个复杂的编译错误:

java: An exception has occurred in the compiler (1.6.0_24). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
java: java.lang.NullPointerException
java:   at com.sun.tools.javac.jvm.Code.width(Code.java:276)
java:   at com.sun.tools.javac.jvm.ClassReader.initParameterNames(ClassReader.java:1542)
...
java:   at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:133)
java:   at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:135)
java:   at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:313)
...
java:   at java.lang.Thread.run(Thread.java:679)
java: Errors occurred while compiling module 'ScoreloopUI'
Compilation completed with 1 error and 5 warnings in 8 sec
1 error
5 warnings
java: Compilation failed: internal java compiler error

有什么想法吗? 谢谢你的帮助。

1 个答案:

答案 0 :(得分:1)

在项目_构建路径中,您是否尝试重新排序编译单元?