Android:exported Must be explicitly defined in Android 12

Currently using SDK 31, and was able to fix the issue with the d8/dx files. Once that was done however, I was greeted with this failure message:

“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.” Following the link, it seems that this needs to be explicitly set according to use cases. However I’m not sure where in the build this is taking place to be able to make this change.

I found the solution to this.

Open: AndroidManifest.xml

Locate <“activity”> tag and insert android:export=“false” on the line following the “android:name” declaration.