[英]Module dependency not detected during compile in IntelliJ IDEA 11
[英]Compile error when using Scoreloop UI as a module in Intellij IDEA
在我的Android项目中,我需要使用ScoreloopUI作为模块。
它在Eclipse中工作正常,但是我想使用Intellij IDEA。
如果我创建一个仅包含模块的项目,则效果很好。
我已将Scoreloop UI作为模块导入,添加了Android facet,选中“库模块”框,并在我的项目中添加了模块依赖性。
当我运行,重建或制作时,它尝试首先制作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
任何想法 ? 谢谢您的帮助。
在您的项目_构建路径中,您是否尝试过重新排序编译单元?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.