You are right. Why did I not see/try that? Thanks a lot! They are actually doing it right now it seems :). Before it did not matter that much which R you included. Now it does. :)
On Friday, November 16, 2012 3:37:58 PM UTC+9, Kumar Bibek wrote: > > Remove the imports for your projects's R file. I guess, you are having > problems with R. > > For example, if in any Java class which is in your base package, you don't > need to write the import statement for R. Removing those imports fixed my > problems. > > *Thanks and Regards, > Kumar Bibek* > * > http://techdroid.kbeanie.com > http://www.kbeanie.com* > > > > On Fri, Nov 16, 2012 at 12:00 PM, Patrick Boos > <[email protected]<javascript:> > > wrote: > >> Updated everything to the new ADT 21 and now I can't compile anymore. >> >> *Eclipse* >> It seems like some resources do not exist in R.java anymore. Some others >> do exist. Seems like all the library projects show up fine in there, just >> the project itself has only about half the resources show up in there. This >> applies to R.dimen, R.layout, R.drawable and R.id (and others too i guess). >> The errors showing up are all ".... cannot be resolved or is not a field" >> Weird is, that if I just run "ant debug" in the shell, it compiles fine. >> >> *Jenkins* >> Updated to ADT 21 as well on the Jenkins build server and there the same >> problem occurs to some projects. Not to all. Only errors seem to be the >> symbol not found errors. >> >>> [javac] /path.../.../ListAdapter.java:81: cannot find symbol >>> [javac] symbol : variable part_item_row >>> [javac] location: class jp.cyberagent.android.base.R.layout >>> [javac] view = >>> LayoutInflater.from(getContext()).inflate(R.layout.part_item_row, parent, >>> false); >>> >>> >> One side note. The projects where it does occur are projects that use >> libraries that depend on other libraries. >> >> Would be glad if anybody could point me in the right direction to solve >> this problem. >> >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> 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

