帖子
帖子
用户
博客
课程
显示全部楼层

[插件开发] 自定义loader时报插件错误

[复制链接]
发表于 2023-7-27 10:34:25
这是引用aar的插件自定义loader时报的错误,有没有大佬指点一下
2023-07-27 10:29:07
/data/engine/android/projects/new_7/AStudioProject/app/src/main/AndroidManifest.xml:34:172-220 Error:
        Attribute application@name value=(com.uzmap.pkg.uzapp.UZApplication) from AndroidManifest.xml:34:172-220
        is also present at [sy_dev_v2.04.aar] AndroidManifest.xml:22:9-61 value=(com.sykean.biometrics.face.AppContext).
        Suggestion: add 'tools:replace="android:name"' to <application> element at AndroidManifest.xml:34:5-62:19 to override.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed : Attribute application@name value=(com.uzmap.pkg.uzapp.UZApplication) from AndroidManifest.xml:34:172-220
          is also present at [sy_dev_v2.04.aar] AndroidManifest.xml:22:9-61 value=(com.sykean.biometrics.face.AppContext).
          Suggestion: add 'tools:replace="android:name"' to <application> element at AndroidManifest.xml:34:5-62:19 to override.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help**.**

BUILD FAILED in 10s


380
帖子
4
勋章
6
Y币
您好,可以百度一下这个报错。 Suggestion: add 'tools:replace="android:name"' to <application> element at AndroidManifest.xml:
您需要登录后才可以回帖 登录

本版积分规则