簡體   English   中英

使用Scoreloop UI作為Intellij IDEA中的模塊時編譯錯誤

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM