我是Eclipse和Android開發人員的新手,最近剛剛安裝了NDK和OpenCV,並且從此我一直在作戰。 Win8/Eclipse Juno/NDK R8D/OpenCV 2.4.4Eclipse LogCat無法讀取 - OpenCV/Android NDK
項目文件夾有這個紅色的感嘆號,但沒有文件顯示任何錯誤。 CDT構建應用程序就好! 以下是LogCat給我的東西:
任何線索?乾杯
編輯: 我跟着你提醒我結束了以下後:
Description Resource Path Location Type
Project 'OpenCV Library - 2.4.4' is missing required library: 'C:\Program Files (x86)\Android\android-sdk\platforms\android-17\android.jar' OpenCV Library - 2.4.4 Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Android\android-opencv-2-4-4\sdk\java\bin\opencv library - 2.4.4.jar' Test1 Build path Build Path Problem
如果您在eclipse中右鍵單擊該項目,然後選擇屬性> android,您將看到sdk中可用的android api級別列表。如果17不存在,請嘗試勾選您擁有的最高API級別,儘管opencv可能具有特定的api級別要求。如果這不起作用,您將需要打開您的android sdk管理器並進行更新以獲取最新的平臺版本api級別。一旦更新重複上述步驟。 – speedynomads 2013-03-14 10:09:25
對於Android Dependencies問題,如果您選擇屬性> java構建路徑並選擇庫選項卡,您應該能夠刪除錯誤的條目並選擇'添加外部jar'應該能夠導入所需的opencv jar,我必須先在你的電腦上找到它。 – speedynomads 2013-03-14 10:12:03
整個Bin文件夾從打開的cv庫中丟失,我將它解壓兩次,仍然沒有區別 – Jake 2013-03-14 10:57:46