Project has no project.properties file!

Project has no project.properties file! Edit the project properties to set one.


從外部Inport項目到Eclipse中,出現這種問題


可能有兩種原因:

1) 項目有引用其他的library,或者project,因爲project.properties中的引用路徑還是你上次的引用,現在你導入項目,路徑不對,無法識別,就報了這種錯誤。


解決就是點擊項目 -> 右鍵 -> Properties -> Android -> 先remove錯的library,再Add所需要的library。


2) 項目不是完整的項目,或少了project.properties文件。


右鍵,NEW -> Other -> Android Project from Existing Code  ->  填入你項目的路徑,Next finish



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章