If anyone getting this error on Android 12 (Android S) preview version. Update all of your dependencies to latest one and
Please add –
android:exported="true"
to to any <activity>
, <activity-alias>
,<service>
, or <receiver>
components that have <intent-filter>
s declared in the app’s AndroidManifest.xml file.
Refer to this link and behavioral changes for Android 12 API 31.