I am starting my migration from Eclipse to Android Studio, and start playing with new projects on Studio.
My test project was working fine till I got some errors mes
I've found a question like this that has some replies here:
Cannot resolve R.java, duplicate class
You can try this:
Also you can try to Rebuild project by clicking Build->Rebuild project after deleting build folder.