[英]Make throws errors for the Andengine multiplayer extension, but they don't show up in the Intellij IDEA editor window
我正在嘗試在IntelliJ IDEA中運行Andengine示例。 我設法導入了所有必要的擴展名,並且編輯器窗口不再顯示任何錯誤,但是當我嘗試運行項目並編譯所有類時,它顯示了幾個錯誤:
/home/mathias/Arbeitsplatz/andenginemultiplayerextension/src/org/anddev/andengine/extension/multiplayer/protocol/server/SocketServerDiscoveryServer.java
cannot find symbol class IDiscoveryData
/home/mathias/Arbeitsplatz/andenginemultiplayerextension/src/org/anddev/andengine/extension/multiplayer/protocol/server/SocketServer.java
cannot find symbol class IServerListener
... and so on
似乎該庫找不到自己的某些類,盡管它們都已存在,並且在編輯器中未顯示任何錯誤。
我在項目頁面上發現了這個問題,該頁面在Eclipse中顯示了相同的錯誤,盡管我沒有找到有關解決方法的描述。
我沒有該項目的自定義生成設置,我所要做的就是單擊“運行”按鈕。
這里有解決方案:http: //youtrack.jetbrains.com/issue/IDEA-79464 :
盡管我發現一個快速修補程序是將intellij設置為使用settings / compiler菜單中的Eclipse編譯器(有多個選項),但intellij 11.0.2仍存在相同的錯誤,並且一切似乎都能正確編譯。
我在其他地方找到的只是一個解決方案-將IntelliJ設置為使用Eclipse編譯器。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.