This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am using intelliJ 12 and i am experiencing weird problems regarding R.java in gen folder.
I just started with android programming and have made 2-3 very very simple apps, all of them runs correctly.But all of them have one common problem:
My R.java file inside gen folder is not getting generated automatically, so it does not contain the code that should be present there.But still my apps runs fully.Is there a way to fix this?
Maneesh Godbole wrote:I don't use IntelliJ but sounds like you have an IDE refresh issue. Maybe you can try refreshing the file/workspace?
I tried android with eclipse first , but i didn't liked it, it was very slow on my pc.But then i tried intelliJ12 and i loved it.It's very fast as compared to eclipse.So, the point is i am also new to Intellij, i tried the option "Force regenerate R.java" but still nothing happens.I will now figure out how to refresh file or workspace in Intellij as it's not visible when you right click the project .
Ulf Dittmer wrote:IntelliJ 12 hasn't been released yet; maybe a bug in the beta version?
OK thanks i am downloading version 11 now, i will install it and report back if it works or not.
Rohan Deshmkh
Ranch Hand
Joined: Aug 31, 2012
Posts: 127
posted
0
Yes seems like a bug, R.java is getting generated in version 11 properly.Looks like version 11 does not have xml gui builder, waiting for version 12 which will be releasing in December.