title: Android 12 Merged Manifest errors fail to be resolve
body: <p>I have added <code>android:exported=&quot;true&quot;</code> to activity with intent in my manifest file as suggested by most solution here. However <strong>manifest merger</strong> returns the error below:</p>
  <p><em>Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for <code>android:exported</code> when the corresponding component has an intent filter defined.</em></p>
  <p>And when I compile the project I get the error below;</p>
  <p><em>Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1256332459.tmp/base.apk (at Binary XML file line #132): org.altbeacon.beacon.startup.StartupBroadcastReceiver: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present'</em></p>
  <p>AndroidManifest.xml is as below:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          package=&quot;com.xxxxxx.android_sample&quot;&gt;
  
      &lt;uses-permission android:name=&quot;android.permission.BLUETOOTH&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.BLUETOOTH_ADMIN&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
      &lt;uses-permission android:name=&quot;android.permission.CAMERA&quot; /&gt;
  
      &lt;uses-feature android:name=&quot;android.hardware.camera.ar&quot; /&gt;
  
      &lt;application
              android:allowBackup=&quot;true&quot;
              android:icon=&quot;@mipmap/ic_launcher&quot;
              android:label=&quot;@string/app_name&quot;
              android:roundIcon=&quot;@mipmap/ic_launcher_round&quot;
              android:supportsRtl=&quot;true&quot;
              android:theme=&quot;@style/AppTheme&quot;&gt;
          &lt;activity
                  android:name=&quot;.view.home.MainActivity&quot;
                  android:exported=&quot;true&quot;
                  android:screenOrientation=&quot;portrait&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
                  android:name=&quot;.view.notification_sample.NotificationSampleActivity&quot;
                  android:label=&quot;@string/title_notification_sample&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.auto_fill_sample.AutoFillSampleActivity&quot;
                  android:label=&quot;@string/title_auto_fill_sample&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.beacon_android.BeaconAndroidActivity&quot;
                  android:label=&quot;@string/title_beacon_android&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.beacon_alt.BeaconAltActivity&quot;
                  android:label=&quot;@string/title_beacon_alt&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.welcome_point.WelcomePointActivity&quot;
                  android:label=&quot;@string/title_welcome_point&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.stamp_rally.StampRallyActivity&quot;
                  android:label=&quot;@string/title_stamp_rally&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.sensor_beacon.SensorBeaconActivity&quot;
                  android:label=&quot;@string/title_sensor_beacon&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.ar.menu.ArMenuActivity&quot;
                  android:label=&quot;@string/title_ar_menu&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.ar.scene_form.SceneFormActivity&quot;
                  android:label=&quot;@string/title_scene_form&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.ar.argumented_images.AugmentedImagesActivity&quot;
                  android:label=&quot;@string/title_scene_form&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.ar.cloud_anchor.CloudAnchorActivity&quot;
                  android:label=&quot;@string/title_scene_form&quot;
                  android:screenOrientation=&quot;portrait&quot; /&gt;
          &lt;activity
                  android:name=&quot;.view.splash.SplashActivity&quot;
                  android:screenOrientation=&quot;portrait&quot;
                  android:theme=&quot;@style/SplashTheme&quot; /&gt;
  
          &lt;meta-data
                  android:name=&quot;com.google.ar.core&quot;
                  android:value=&quot;required&quot; /&gt;
          &lt;meta-data
                  android:name=&quot;com.google.android.ar.API_KEY&quot;
                  android:value=&quot;xxxxxxxxxx_xxxxxxx_x&quot; /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  <p>Any help on how to fix this issue is highly appreciated, thank you.</p>