I logged a bug a while back about problems with project cleaning using Eclipse and ADT 10. Please star it if it's a problem for you. Maybe it will get fixed faster.
http://code.google.com/p/android/issues/detail?id=15209 Doug On Mar 26, 9:14 am, 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

