I'm trying to reference the R class on my code, which is an Android Maven Project created on IntelliJ IDEA 12, but the R class has not been found after compiling the entire Project.
Why? And how to solve this?
Problem solved with the suggestion made by Eugene Kudelevsky on JetBrains forums:
Coluld you please check following:
Go to Project Structure | Modules | choose Android facet to open facet settings. Then open "Compiler" tab. Is "Run 'process-resources' Maven task before Make" selected? I did manage to reproduce the problem in such case only.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.