Errors occurred during the build.Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointerException

http://www.cnblogs.com/goodcandle/archive/2013/08/19/3267604.html

编译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.
posted @ 2013-12-16 19:31  天一生水1  阅读(470)  评论(0)    收藏  举报