Like parts of Chapter 3, Training a Smart Alarm to Recognize the Villain and His Cat, Angora Blue project, Goldgesture performs human face detection and requires one of the cascade files that comes with OpenCV. Also, Goldgesture uses audio clips. The cascade file and audio clips are located in the book's GitHub repository in the Chapter004/Goldgesture/app/src/main/res/raw subfolder. If you are recreating the project from scratch, you should copy these files to your own app/src/main/res/raw folder. This folder is a standard location for files that we want bundled with the Android app in raw (unmodified) form. By default, this folder does not exist in new Android Studio projects.
To create it in Android Studio, right-click on the app/src/main/res folder (in the Project pane) and select New | Android Resource Directory from the context...