Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which AndroidManifest.xml to edit in Flutter project?

I notice there are several AndroidManifest.xmls under android/app/src, debug, main, and profile folders all contain one. Which one to edit?

enter image description here

like image 496
giorgio79 Avatar asked Sep 04 '25 03:09

giorgio79


2 Answers

Main AndroidManifest.xml file is located at 'Project' > app > src > main > AndroidManifest.xml.

Other AndroidManifest.xml which are in debug folder and profile folder are systems generated when you are running a flutter app directly to mobile it will generate or while creating a flutter project. E.g: It is used for hot reload when the device is connected.

like image 114
Patel Pinkal Avatar answered Sep 06 '25 02:09

Patel Pinkal


Press cmd + shift + o and enter androidmanifest.xml, now open the one located at android/app/src/main.

enter image description here

like image 32
CopsOnRoad Avatar answered Sep 06 '25 04:09

CopsOnRoad