本文介绍了Eclipse中的Android项目的Javadoc会失败,并显示NullPointerException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Eclipse中为我的Android项目生成javadoc注释,但是我不断得到一个NullPointerException。只有当我尝试为导入。
Anyway, before that error there's a lot of "package android.* does not exist" warnings, so I decided to get rid of these first. Here's the workaround that worked for me.
现在,随着这些警告消息的消失, NullPointerException
也消失了!我能够为整个项目生成javadoc,包括引用的库项目,第三方库jar和Android框架类的链接。
Now, with these warning messages gone, the NullPointerException
disappeared too! I was able to generate javadoc for the entire project, including links to referenced library projects, 3rd party library jars and Android framework classes.
这篇关于Eclipse中的Android项目的Javadoc会失败,并显示NullPointerException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!