The AndroidManifest.xml file

The new empty app includes a handful of default files, including the manifests/AndroidManifest.xml file (this is if you have the Android view activated. In the Project view, it is in app/src/main). Every application must have an AndroidManifest.xml file in its manifest directory that tells the Android system what it needs in order to run the app's code, along with other metadata.

Let's set this up first. Open your AndroidManifest.xml file in the editor. Modify it to read it as follows:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="" package="com.cardbookvr.skeleton" ...

Get Cardboard VR Projects for Android now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.