Where is the R file in Android Studio? How can I find it or generate it?
I have a book that is using eclipse but I want to use android studio. Plus I can't find the R.java file in eclipse either.

Generate you need to build Build > Rebuild Project

You will then find R class under your project module (most often called app), build > generated > source > r > debug > YOUR_PACKAGE_NAME > R.java

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.