I've been having the same problem:

The layout preview only says "NullPointerException: null".

It is happening to me with multiple layout files, and I can't seem to
identify the problem...


On Oct 6, 10:55 pm, Bob Whiteman <[EMAIL PROTECTED]> wrote:
> Disclaimer: I'm just starting with Android.
>
> I'm using Eclipse with the Android development tools. When I add a
> Chronometer to mylayoutxml, either by typing it, pasting it from an
> online example, or using the widget to add a new element, theLayout
> view breaks: When I switch to thelayoutview it only shows
> "NullPointerException: null" where the preview should be. I've tried
> adding and removing various valid attributes, but nothing works.
> Running the app shows the chronometer, but considering my app will
> have a dozen or more on screen at once, I could really use thelayout
> preview. I suspect a bug in the tools. Anyone else seen this? Is there
> a workaround?
>
>          -Bob Whiteman

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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