Android Application Manifest File (AndroidManifest.xml)
Go Up to File Types Index
When you build a project for the Android target platform, RAD Studio generates an Android application manifest file. This file is necessary to generate the bundle of your application.
Android application manifest files provide information about your application. Its content is generated from the information in the following pages of your project configuration:
When you build your project, your Android application manifest file is generated by default as AndroidManifest.xml
into the following folder:
- In packages:
- Note: You do not need an Android application manifest file for packages.
- For Delphi:
C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\<platform>
- For C++:
C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\<platform>\<build configuration>
C:\Users\Public\Documents\Embarcadero\Studio\23.0\DCP\<platform>\<build configuration>
- In other projects:
C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration>
To change the output directory:
- In Delphi: use the Package output directory option in Project > Options > Delphi Compiler.
- In C++: use the BPI/LIB output option in Project > Options > C++ (Shared Options).
Ensuring that the AndroidManifest.template.xml file is up to date
If you have an existing FireMonkey application project for the Android platform from a previous RAD Studio version, you need to delete the AndroidManifest.template.xml file from your project's root directory.
Before launching RAD Studio, follow the steps below to ensure that the AndroidManifest.template.xml file is setting a value for the exported attribute in the declaration of the FMXNativeActivity activity:
- Navigate to the
%AppData%\Embarcadero\BDS\23.0
directory. - Delete the AndroidManifest.xml file.
- Navigate to the root directory of your application.
- Delete the AndroidManifest.template.xml file.
- The next time you launch RAD Studio and build your FireMonkey application, an updated version of the AndroidManifest.template.xml file will be automatically generated.
See Also
- Apple Application Information File (*.info.plist)
- Apple Application Entitlement File (*.entitlements)
- Apple Application Resource Rule File (ResourceRules.plist)
- AndroidManifest.xml (Android documentation)