Error when Building Ionic Android App - Manifest Merger Failed

Hi Ionic community,

I hope you’re all doing well! I am currently facing an issue while trying to build my Ionic Android app, and I could use some assistance.

Error Description: When attempting to build my Ionic Android app, I encountered the following error:

Error: "Execution failed for task ‘:app:processDebugMainManifest’.

Manifest merger failed: Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined."

Android Build Error Image while running ionic cordova build android:

It asks me to specify android:exported in manifest file, although as you can see I have it already in my manifest file.

Manifest File:

Here I am describing my project details:

ionic info:


   Ionic CLI                     : 7.1.1 (/Users/kunalbamborde/.nvm/versions/node/v18.16.1/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.5.4
   @angular-devkit/build-angular : 0.1101.4
   @angular-devkit/schematics    : 11.1.4
   @angular/cli                  : 11.1.4
   @ionic/angular-toolkit        : 3.1.0


   Cordova CLI       : 12.0.0 (cordova-lib@12.0.1)
   Cordova Platforms : android 10.1.2
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 24 other plugins)


   cordova-res : not installed globally
   native-run  : not installed globally


   Android SDK Tools : 26.1.1 (/Users/kunalbamborde/Library/Android/sdk)
   NodeJS            : v16.20.1 (/Users/kunalbamborde/.nvm/versions/node/v16.20.1/bin/node)
   npm               : 8.19.4
   OS                : macOS Unknown

Please let me know if I need to share anything else.

You have some plugin that has some activity or intent filter without the exported part.

Check your plugins and make sure you are using latest version of them and check their github repositories and see if they are maintained and there is no issues open about the exported error.

Also, you should update your cordova-android version to 11.0.0 or newer to properly target SDK 32, even better if you go to 12.0.0 as it targets SDK 33, which will be required in August.

So I need to check every cordova plugins and check if they are outdated? If yes I need to update them?