出现问题:Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component
网上说了一些方法,可以参考这篇文章终极大法:android:exported needs to be explicitly specified for <xxxxx>. Apps targeting Android 12 and... - 简书r
如果不想升级到Android12,但又提示最小SDK版本需要31,那么可以试下下面的方法:
查看appcompat版本是否为1.4.0,是的话降到1.2.0即可。
当遇到Android12中Manifest merger failed错误,提示需要指定android:exported属性时,可以尝试不升级到Android12,而是检查appcompat库版本。如果版本为1.4.0,降级到1.2.0可能解决问题。
1万+

被折叠的 条评论
为什么被折叠?



