19
I am trying to generate javadoc comments in Eclipse for my Android Project, but I keep getting a NullPointerException. The problem occurs only when I try to generate javadocs for classes that import the Android Compatibility Library (android.support), which I have attached as an external jar. I also reference Android 2.2 and several Library Projects, but those do not cause this error on their own.
Loading source file /home/travisc/Desktop/Android/App/workspace/Restaurant/src/com/yellowbrickcode/restaurant/StartupActivity.java...
Constructing Javadoc information...
StartupActivity.java:3: package android.content does not exist
import android.content.ContentValues;
^
StartupActivity.java:4: package android.content does not exist
import android.content.Intent;
^
StartupActivity.java:5: package android.content does not exist
import android.content.SharedPreferences;
^
StartupActivity.java:6: package android.content.SharedPreferences does not exist
import android.content.SharedPreferences.Editor;
^
StartupActivity.java:7: package android.os does not exist
import android.os.Bundle;
^
StartupActivity.java:8: package android.preference does not exist
import android.preference.PreferenceManager;
^
StartupActivity.java:10: package android.view does not exist
import android.view.Menu;
^
StartupActivity.java:11: package android.view does not exist
import android.view.MenuItem;
^
StartupActivity.java:12: package android.view does not exist
import android.view.View;
^
StartupActivity.java:14: package android.view does not exist
import android.view.ViewGroup;
^
StartupActivity.java:15: package android.widget does not exist
import android.widget.ImageB