juniorAndroid

What is Android Manifest file and its importance?

Updated Apr 28, 2026

Short answer

The AndroidManifest.xml defines app configuration, components, and permissions.

Deep explanation

It acts as the central configuration file where all app components (activities, services, receivers) are declared. It also defines permissions, hardware requirements, and metadata needed by the Android system.

Real-world example

Declaring internet permission for API calls.

Common mistakes

  • Forgetting to declare activities or permissions.

Follow-up questions

  • What happens if activity not declared?
  • Where define permissions?

More Android interview questions

View all →