What version of eclipse are you using?
And on what operating system?
I have read that eclipse versions 3.6, sometimes gives some kind of weird
errors, like the one you are describing...
Just to be on the safe side, you could donwload any 3.5.X eclipse version
and check if this still happens...

On Sat, Mar 26, 2011 at 5:14 PM, New Developer <[email protected]> wrote:

> Thanks
>
> No there is no android.R  import  and I have tried the Project->Clean
> That is one sure way to trip it off thou  at least  97% of the time that I
> have done a  Project->Clean
> I have the failure occur.
>
> thanks  again
>
> On Mar 26, 2011, at 10:19 AM, B Lyon wrote:
>
> > pretty weird
> >
> > eclipse didn't insert an import to "(something I forgot).R.*" did it?
> > Seems like it will do that sometimes.  Of course, you can do a
> > Project-->Clean, but it may come back anyway in this case
> >
> > let me know when you figure it out what it is
> >
> > On Sat, Mar 26, 2011 at 8:19 AM, New Developer <[email protected]>
> wrote:
> >> Thanks
> >>
> >> No I only have a single landscape layout.
> >> The biggest baffle is that is works and then does not work
> >>
> >> All I do is re-type the  findViewByID part  and in the layout xml
> re-type the  android:id  line
> >> and 95% that fixes it.  But this case where it does and does not work,
> while I am working on another section is frustrating to say the least
> >>
> >> Thanks again
> >>
> >>
> >> On Mar 25, 2011, at 3:13 PM, B Lyon wrote:
> >>
> >>> Not sure if it applies in your case, but do you have a separate
> >>> layouts for landscape and portrait and that view is defined in only
> >>> one of them?  I think the eclipse android plugin might not catch this
> >>> kind of thing, and so you wouldn't find out until runtime that it
> >>> wasn't in both layouts.
> >>>
> >>>
> >>> On Fri, Mar 25, 2011 at 2:56 PM, New Developer <[email protected]>
> wrote:
> >>>>
> >>>> Sometimes not always the following line
> >>>> final ExpandableListView  menuView    = (ExpandableListView)
> >>>> findViewById(R.id.menuListing);
> >>>> may or may not return null and thus aborts with a NullExceptionError
> >>>> Any ideas how to fix this permanently to always return a valid
> >>>> thanks in advance
> >>>>
> >>>> --
> >>>> 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
> >>>
> >>> --
> >>> 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
> >>
> >> --
> >> 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
> >
> > --
> > 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
>
> --
> 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
>



-- 
---
http://aitorTheRed.blogspot.com
http://www.last.fm/user/aitorTheRed/

-- 
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