编译android时,遇到报错:
Errors occurred during the build.Errors running builder 'Android Pre Compiler' on project 'XXX'
java.lang.NullPointerException
错误原因:
工程目录下有很多.svn目录
解决方法:
- Open properties of project in Eclipse then Resources -> Resource filters.
- Click the "Add..." button -> Check "Exclude all", "Files and folders", "All children". In the text entry box input ".svn" (without quotes).
- Restart Eclipse.
本文介绍了一种在Eclipse中编译Android项目时遇到NullPointerException错误的解决方案。该问题由项目中的.svn目录引起,通过资源过滤设置排除这些目录可以解决错误。
3646

被折叠的 条评论
为什么被折叠?



