502425129@qq.com
502425129@qq.com
  • 发布:2021-04-17 10:19
  • 更新:2021-04-19 10:52
  • 阅读:114

【报Bug】Html5app-Baichuan导致的云打包失败

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10

HBuilderX类型: 正式

HBuilderX版本号: 2.7.14

手机系统: Android

手机系统版本号: Android 11

手机厂商: 小米

手机机型: k30

页面类型: vue

nvue编译模式: fast

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

menifest.json 选择payment支付模块
Html5app-Baichuan plugin只保留Html5app-Baichuan\android\res\drawable\yw_1222.jpg

预期结果:

云打包正常

实际结果:

Appid: UNI0DDA811
[PackagePath]/app/AndroidManifest.xml:29:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaysdk-noutdid-15.8.00.201112210139.aar] AndroidManifest.xml:29:13-85
is also present at [nb_trade-4.0.0.8.aar] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:27:9-32:20 to override.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processReleaseMainManifest'.

    Manifest merger failed : Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaysdk-noutdid-15.8.00.201112210139.aar] AndroidManifest.xml:29:13-85
    is also present at [nb_trade-4.0.0.8.aar] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
    Suggestion: add 'tools:replace=\"android:configChanges\"' to element at AndroidManifest.xml:27:9-32:20 to override.

  • Try:
    Run with --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processReleaseMainManifest'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecuto

bug描述:

Html5app-Baichuan plugin 导致云打包失败

2021-04-17 10:19 负责人:无 分享
已邀请:

最佳回复

DCloud_Android_ST

DCloud_Android_ST

com.alipay.sdk.app.H5PayActivity 注册重复了 内部支付宝支付模块也有。要不去掉支付宝支付模块。要不找插件开发者去掉H5PayActivity 注册

502425129@qq.com

502425129@qq.com (作者) - Zhi男

项目中使用了官方的uni.requestPayment

插件文档也看了 https://ext.dcloud.net.cn/plugin?id=729#detail 就是打包不了,试了几个HbuiderX版本了

如何解决?

https://service.dcloud.net.cn/build/errorLog/5d92c4d0-9f1b-11eb-ba82-172db56a5f44

502425129@qq.com

502425129@qq.com (作者) - Zhi男

https://ask.dcloud.net.cn/question/114298?item_id=161035&rf=false

要回复问题请先登录注册