1
月食顯示了exclaimation標記我的項目旁邊,該項目的所有類沒有顯示錯誤消息。我清理了這個項目並重新啓動,驚歎號仍在那裏。
問題標籤輸出:
Description Resource Path Location Type
The container 'Android Dependencies' references non existing library 'D:\workspaceQR
\QRTest\bin\qrtest.jar' QR01 Build path Build Path Problem
SupplementalInfoRetriever cannot be resolved CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 496 Java Problem
ShareActivity cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 299 Java Problem
ResultHandlerFactory cannot be resolved CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 359 Java Problem
ResultHandler cannot be resolved to a variable CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 503 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 359 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 438 Java Problem
ResultHandler cannot be resolved to a type CaptureActivity.java /QRTest/src/com
/google/zxing/client/android line 521 Java Problem
ResultButtonListener cannot be resolved to a type CaptureActivity.java /QRTest
/src/com/google/zxing/client/android line 508 Java Problem
和我沒有任何類名爲QRTest,但我有QR01,所以我改名爲QR01到QRTest ,但問題仍然存在。
任何想法如何解決這個問題?
你一定錯過了一些被引用的庫! 你的項目文件夾在資源管理器 - >屬性 - > Java構建路徑Rt Clk –
嘗試清理和重建project.also檢查庫引用,如果第一個不能解決問題。在我的情況很少,重新啓動eclipse也工作! – Hiral
檢查「問題」選項卡中的問題。如果您看不到此選項卡,請使用「窗口」 - >「顯示視圖」 - >問題 – Rajesh