04 Feb 2013, 20:34
Generic-user-small

Miller Ridgeway (13 posts)

I am on chapter 4 defining PuzzleView, I did a Project > Clean.. and suddently, R.java cannot be resolved. send halp please

05 Feb 2013, 10:02
Generic-user-small

Anthony Shaw (136 posts)

You probably have a problem in one of your layout files or other XML files. Until those problems are resolved R.java cannot be re-generated. So inspect the build log, it should highlight the problems and when they are all fixed R.java will be created again

05 Feb 2013, 20:08
Generic-user-small

Miller Ridgeway (13 posts)

Well, I believe the problem is in my colors.xml. I added it recently for the PuzzleView class, and it was giving me an error, so I decided to try Project<Clean, then I ran into this.

My colors.xml file is below

#ffe6f0ff #ffe6f0ff #64c6d4ef #6456648f #ff000000>/color> #64ff0000 #6400ff80 #2000ff80 #64ff8000
05 Feb 2013, 20:12
Generic-user-small

Miller Ridgeway (13 posts)

Hm, well. My post above allowed me to locate my error. My syntax on one of the colors was wrong. But now I am brought back to my older error, it is stating that colors cannot be resolved, and it is not defined in R.java. Any suggestions?

05 Feb 2013, 20:42
Generic-user-small

Miller Ridgeway (13 posts)

Well, after further exploration, I found that it is defined as “color” instead of “colors”. I must have renamed it somewhere along the road.

06 Feb 2013, 08:16
Generic-user-small

Anthony Shaw (136 posts)

The devil is in the detail. Sounds like you are moving on again though.

  You must be logged in to comment