You can take a look at Android Sources plugin 
http://code.google.com/p/adt-addons/
Update site : 
http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/

Just update this feature and after restart Eclipse, source code will
appear magically in all your existing projects and in all your new
projects.

It is about 130 MB size because contains all sources for 6 Android SDK
versions. Requires ADT >= 8.0.0

Regards,
Peco

On Dec 27, 5:03 am, John Lussmyer <[email protected]> wrote:
> Is it possible to get just the source for the Android .jar files?
> I don't want the whole bleeding OS, just the source that will help me figure
> out what's going wrong in my code when I get weird exceptions.
>
> Like, right now, this line of code:
>
> Button btn = new Button( context);
>
> is throwing:
>
> [2010-12-26 19:50:35 - main.xml] Parser is not a BridgeXmlBlockParser!
> java.lang.NullPointerException
>     at android.view.View.<init>(View.java:1845)
>     at android.widget.TextView.<init>(TextView.java:326)
>     at android.widget.Button.<init>(Button.java:69)
>     at android.widget.Button.<init>(Button.java:65)
>     at android.widget.Button.<init>(Button.java:61)
>
> I don't have the faintest idea WHY this exception is happening in Eclipse
> (not in the Emulator, but in the Eclipse Console window.)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to