This Question is Answered

1 "helpful" answer available (2 pts)
7 Replies Last post: Apr 5, 2013 1:08 AM by Steven Bixby  
Steven Bixby Newbie 7 posts since
Oct 27, 2008
Currently Being Moderated

Jan 19, 2013 6:06 AM

IDEA 12 and Android's R.java - empty

I'm new to Android, and new to IDEA 12, but I've been an IDEA user for many years.

 

I used the File -> New Project to create an Android 4.2 project, and following along with Pro Android 4 book, started adding resources.   The book (and the 'net in general) implies that when resources are added, the "R.java" file should be updated to show those references.


But the R.java I have never gets values.  I can auto-complete using R.xxx and see my resources, but the R.java never updates.

 

Is this a bug or just how things go with IDEA 12?

Eugene Kudelevsky JetBrains 152 posts since
Jun 19, 2009
Currently Being Moderated
Jan 29, 2013 6:42 PM in response to: Steven Bixby
Re: IDEA 12 and Android's R.java - empty

Hello. Sorry about delay. It is by design in IDEA 12, but we've already got many related complaints, so this behaviour probably will be changed in 12.1. Please, follow http://youtrack.jetbrains.com/issue/IDEA-99045

Eugene Kudelevsky JetBrains 152 posts since
Jun 19, 2009
Currently Being Moderated
Apr 4, 2013 3:05 PM in response to: Steven Bixby
Re: IDEA 12 and Android's R.java - empty

Yes, it's deferred. We'll consider possibility to change this behaviour in IDEA 13. BTW, what is the problem you have with it? Do you run any external tools reading R.java file?

More Like This

  • Retrieving data ...