I have import info.dodata.mirror.R
, I always get the warning information Unresolved reference: R
when I reopen a project for the first time, just like the following image.
I have to click the menu Build -> Rebuild project to rebuild the project, or I close the project and reopen it again in Android Studio 3.1.1 to resolve the problem.
Both my office PC and home PC with windows 7 x64 meet the same problem. How can I fix it? Thanks!
Image
To ice1000:
Thanks!
Do you mean that I should click Refresh All Gradle Projects button?