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" > <uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE...