312-50V10 · Question #937
What is the file that determines the basic configuration (specifically activities, services, broadcast receivers, etc.) in an Android application?
The correct answer is A. AndroidManifest.xml. AndroidManifest.xml is the mandatory root configuration file in every Android application that declares all app components, permissions, and system requirements.
Question
What is the file that determines the basic configuration (specifically activities, services, broadcast receivers, etc.) in an Android application?
Options
- AAndroidManifest.xml
- BAPK.info
- Cresources.asrc
- Dclasses.dex
How the community answered
(21 responses)- A90% (19)
- B5% (1)
- C5% (1)
Why each option
AndroidManifest.xml is the mandatory root configuration file in every Android application that declares all app components, permissions, and system requirements.
AndroidManifest.xml is a required file at the root of every Android app project that serves as the central configuration descriptor. It explicitly declares all application components - activities, services, broadcast receivers, and content providers - along with required system permissions, hardware features, and the minimum Android API level the app supports.
APK.info is not a standard or recognized file in the Android application package structure and does not exist as a defined component in Android development.
resources.arsc is a compiled binary file that maps resource IDs to their resolved values at runtime and plays no role in declaring app components or configuration.
classes.dex is the Dalvik Executable file containing compiled bytecode (Java/Kotlin) for the app's logic and has no function in declaring activities, services, or broadcast receivers.
Concept tested: Android application manifest and component declaration
Source: https://developer.android.com/guide/topics/manifest/manifest-intro
Topics
Community Discussion
No community discussion yet for this question.