制作自定义基座时报错:
[PackagePath]/app/AndroidManifest.xml:46:44-68 Error:
Attribute meta-data#notch.config@value value=(portrait) from AndroidManifest.xml:46:44-68
is also present at [SDLLPayYL-release.aar] AndroidManifest.xml:106:13-47 value=(portrait|landscape).
Suggestion: add 'tools:replace=\"android:value\"' to element at AndroidManifest.xml:46:5-70 to override.
我看这个报错的意思大概是我引入的第三方SDK(SDLLPayYL-release.aar)的AndroidManifest.xml清单里的内容已经有了,与uniapp原来的这个内容有冲突,建议是增加tools:replace=\"android:value\"',但是我们没法修改uniapp的AndroidManifest.xml文件,所以我在hbuilderx的项目里又新建了一个AndroidManifest.xml(内容见附件),希望能把uniapp里自动生成的AndroidManifest.xml里的内容给覆盖掉,但是重新生成自定义基座还是报同样的错误。
a***@rzport.com (作者)
收到,感谢,明天我试一下
2023-04-25 17:41
xatao
Attribute activity#shaphar.app.wxapi.WXEntryActivity@label value=(@string/app_name) from AndroidManifest.xml:40:64-96
is also present at [cmbpay-plugin.aar] AndroidManifest.xml:11:13-59 value=(@string/title_activity_wxentry).
Suggestion: add 'tools:replace=\"android:label\"' to element at AndroidManifest.xml:40:5-213 to override.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processReleaseMainManifest'.
> Manifest merger failed with multiple errors, see logs
Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
你好,我这边有原生支付的插件,然后现在需要做微信分享功能,用的是uniapp的Share分享,然后打包就会报错。
2023-11-09 09:19