Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit ..

  • I encountered this error several times when running the project, and simply recorded the following.
  • 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

Solution: Add android:exported to the activity in the AndroidManifest.xml file according to the prompt

as follows:

After adding it, re-run it to solve it

Supongo que te gusta

Origin blog.csdn.net/weixin_56691212/article/details/123482989
Recomendado
Clasificación