Issue
I'm trying the new Android Studio. I've exported a project from eclipse, using the build gradle option. I've then imported it in Android Studio. The R.java file under gen has a j in a little red circle on it. And in my source files, I get "cannot resolve symbol R" wherever I have a reference to a resource, e.g. "R.layout.account_list" etc.
I have never used Intellij before. Would appreciate any help as there obviously aren't many answer yet about Android Studio. Thanks!
Solution
- Press F4 into Project Structure, Check SDKs on left
- Click Modules ---> Source Tab, check gen and src as sources
PS: The answer over a year old and the menus have changed.
Answered By - Crossle Song
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.