Android編譯報Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointerExcept

編譯android時,遇到報錯:
Errors
occurred during the build.Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointerException

錯誤緣由:
工程目錄下有不少.svn目錄

解決方法:
  1. Open properties of project in Eclipse then Resources -> Resource filters.
  2. Click the "Add..." button -> Check "Exclude all", "Files and folders", "All children". In the text entry box input ".svn" (without quotes).
  3. Restart Eclipse.
相關文章
相關標籤/搜索