喵xixi
喵xixi
  • 发布:2022-07-07 09:12
  • 更新:2023-07-13 20:40
  • 阅读:593

改了应用包名 打google (aab)包提示打包失败

分类:uni-app

Appid: UNIEAB3F40

FAILURE: Build failed with an exception.

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

    No matching client found for package name 'com.mxxi.chat'

  • 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:processReleaseGoogleServices'.
    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(DefaultBuildOperationExecutor.java:399)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)

2022-07-07 09:12 负责人:无 分享
已邀请:
M丶J

M丶J - 多端开发

找到原因了,是因为改了包名,而unipush里的配置用的是老包名导致。需要把google-services.json中的"package_name": "com.1xxx.xxx"路径修改为一样的

d***@weboost.com.au

d***@weboost.com.au - Weboost

你好,请问这个问题有解决方法吗

M丶J

M丶J - 多端开发

这个怎么解决呢? 例如用 'com.mxxi.test'可以打aab包,上传google报包名已存在,然后改成'com.mxxi.xxchat',打包aab报上面你这种错

Diligent_UI

Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序

以前包名是什么,现在包名是什么

M丶J

M丶J - 多端开发

以前包名: “com.xxx.xxx”, 因为Google报包名重复, 就改成“com.1xxx.xxx”, 然后打包失败No matching client found for package name 'com.1xxx.xxx'

M丶J

M丶J - 多端开发

[HBuilder] 16:47:44.291 时间: 2023-07-13 16:45:46 类型: Android云端证书(GooglePlay(AAB)) 打包失败 错误日志: https://ide.dcloud.net.cn/build/errorLog/a8db58d0-2159-11ee-8d08-53e463d8049e

要回复问题请先登录注册