AndroidManifest.xml

The core configuration file for an Android application.

Open in XML Formatter

About this format

Android requires this XML file to describe essential app information to the build tools, OS, and Google Play.

Example Data

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.myapp">
    <uses-permission android:name="android.permission.INTERNET" />
    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

When to use AndroidManifest.xml

  • Declaring requested permissions
  • Registering app activities and services
  • Setting app icons and themes