1. 程式人生 > >匯入專案錯誤(二)Project '專案xxx' is missing required library:

匯入專案錯誤(二)Project '專案xxx' is missing required library:

Mac匯入以前Windows上面的專案demo,報如下錯誤:

Project '0101_lenovomall_UpdateApp' is missing required library: 'D:/yyh_installSoft/androidTools/android_lianXiangLT_shenHua/adt-bundle-windows-x86-20140702/sdk/platforms/android-21/android.jar’

The project cannot be built until build path errors are resolved   

解決方式:

1、刪除專案工程下.metadata檔案,Eclipse重新匯入專案

2、刪除帶紅叉的jar包

Java Build Path,Libraries,選中報錯的jar包remove刪除,ok!