No layout folder found

I just started reading the book, created a project using an Empty Activity template, as detailed in page 5. Afterwards, the book mentions activity_main.xml in the app/res/layout folder but I can’t find that file, in fact I can’t find even the layout folder. Do I need to do something additional to what the book says? Thanks in advance

PS FWIW, I’m using Android Studio 2022.3.1 Patch 2.

1 Like

There has been a slight change since the book has been published in regards to the template you want to use when creating your project. For all the apps in the book, you want to use the “Empty Views Activity” template, not the “Empty Activity” template. Sorry for the confusion. The “Empty Activity” template changed recently and it no longer generates all the code that you need to follow along in the book.

3 Likes