IntelliJ 14.0.3 can't find R.java

I don't know what to say beyond the subject. I had a working project. Then I updated. Now when I compile, for every module, it complains that it can't find R.java for that project, even though it's right where it's supposed to be and always has been.

I tried changing from my custom output directory to the default .../gen. No joy.

Then I removed the module, deleted the .iml file, and recreated from scratch, using the default .../gen. That worked. But I really don't wan to have to do that for every module in every project.

9 comments
Comment actions Permalink

Same here. "Error:(11, 25) java: package R does not exist" after rebuilding project.

I only ran into this error today after updating to 14.0.3.  I've trashed cache and preferences. I can get it to compile after doing some voodoo with Build -> Make. Or right clicking on specific modules-> Make Module.

Edit: I switched back to 14.0.2, problem solved for now.

0
Comment actions Permalink

I ended up reverting to 14.0.2 as well (but only after wasting about half a day trying to get it to work on .03).

0
Comment actions Permalink

Same error with myself and another developer here.  The other developer reported that reverting to 14.0.2 fixed it.

0
Comment actions Permalink

Thanks for the confirmation guys. At least I know it's not just me.


0
Comment actions Permalink

I also updated, and now get the same error.  
May I ask how, or where any of us can find the 14.0.2 version so we can revert, and continue with our work?

0
Comment actions Permalink

kudo's friend - thanks for the quick reply!

0
Comment actions Permalink

Here's the issue in YouTrack. Somebody has been able to make a simple test case for JetBrains to test. Go here and vote for the issue to track it.
https://youtrack.jetbrains.com/issue/IDEA-135234
Also,
https://youtrack.jetbrains.com/issue/IDEA-135831

0
Comment actions Permalink

Same problem here.

I have a project with two modules. One are a library module.
Every time I add a new resource the build stop with this problem.
Then I have to compile each module individually before run the application.

And sometimes intellij is making confusion with android resources. it is change the resources in application.

0

Please sign in to leave a comment.