Can't find R.java in Android Studio 3.6(newest release)

When I use Android Studio 3.5, I’ve known where R.java is.

But in Android Studio 3.6, the newest version,
the location of R.java is changed and different to the location explained in Chapter 1.

Where is it? Thanks.

1 Like

The new Android Gradle Plugin generates the corresponding bytecode directly and does not make the intermediate R.java file.

See link for more info

3 Likes

That’s exactly what I expected.
And I found many changes in Android Studio 3.6.
Instant Run’s swap feature is replaced by three toolbar buttons, and
Layout Editor’s Design and Text modes are changed to Design, Code, Split views.
Thank you for your reply!

1 Like

The R.java file is deleted after compiling and archiving. Look for the associated class information in the R.jar file.

See the latest reply to: R file not found