I am brand new to android development and i am working with IntelliJ Idea 12. Everything is set up correctly but one problem i am facing is that my R.java file inside gen folder does not have the code that should have been there.I think this code should have been auto generated but it's not present there. Here are the links on on what my project structure looks like:
I could not post more than two links, so here is the link to gallery: http://postimage.org/gallery/19189wei/
It contains my string.xml , main.xml , R.java , HaikuDisplay.java So i wanted to know where's the problem?
I wouldn't bother looking at the R file - mine is empty as well and it doesn't matter. Try type R. and see what's available. If you're not setting your stuff, make sure you're not Importing Android.R in your imports - that will override your R and use the one in the SDK directory. Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With