I got it.   There was an error in another resource file (layout.xml)
that I was ignoring until later but it looks like if there are any
errors then new resource files don't get checked or updated in
R.java.

On Jan 8, 10:54 pm, eags <eagsala...@gmail.com> wrote:
> I added a new file "colors.xml" to res/values/ .  That seemed to go OK
> but the R.java class was *not* automatically updated.  Is there a
> "right" way to add these files?  I just did ctrl-N then selected
> "File" and named the file colors.xml.  Then I just typed in the xml
> which looks fine.  I looked for something like Android Resource but
> saw nothing.
>
> I actually also had this problem when adding images to res/drawable/.
> I added two images but they didn't show up.  In that case I said
> create new file, link to filesystem and that (strangely) worked and
> for some reason the second image showed up.  It was like I just needed
> to kick it a little to trigger it to look in that directory.
>
> Is there something I'm missing here?
>
> Thanks in advance for any help.
--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to