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.
Note
More information on this can be found at http://developer.android.com/guide/topics/manifest/manifest-intro.html.
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="http://schemas.android.com/apk/res/android" package="com.cardbookvr.skeleton" ...
Get Cardboard VR Projects for Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.