What is this directory about

The Android folder contains files and folders required for running the application on an Android operating system. These files and folders are autogenerated during the creation of the flutter project. It’s recommended that these folders and files are left as is.

We modify this directory/files if we need to in some scenerios such as, adding flavors, adding store keys, etc.

The android folder’s primary sub-folders are the res folder and AndroidManifest.xml file. The res folder contains non-programmable resources required for the application, like icons, images, and fonts, while the AndroidManifest.xml file contains information needed by the application SDK.

build.gradle in android/app It contains the applicationId that is required when submitting to Google Play Store. Make sure, this value matches the value you specify in Google Play Console before uploading your app. ❗ Be sure to check the path! There is another build.gradle file in the android subfolder.

AndroidManifest.xml in android/app/src/main Here you can specify intents or capabilities that your app is going to use. When using 3rd party packages, their installation instructions usually include detailed information on what needs to be added here. ❗ Again be sure to check the path because there are other manifest files at android/app/src/debug and android/app/src/profile! if needed you edit manifest files from debug and profile.

Copyright © 2024