-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
报错内容
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
报错原因:
如果 AndroidManifest.xml 注册的 activity、activity-alias、service 或者 broadcast receiver 组件有 intent-filter 属性,必须显式设置 android:exported 的值,否则应用将无法安装。
解决方法:
第一处,代码中改为
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
Metadata
Metadata
Assignees
Labels
No labels