H5_flymorn
H5_flymorn
  • 发布:2020-11-21 22:46
  • 更新:2023-12-21 18:53
  • 阅读:3843

unipush无法推送Google FCM离线消息

分类:uni-app

已安装Google GMS三件套,已挂VPN,可以正常打开Play商店。

已按照 https://ask.dcloud.net.cn/article/37356 教程打包,配置FCM厂商渠道。

已打包Google play渠道apk包(自定义基座)。

目前,在APP进程杀死的情况或APP进入后台时(进程还在) ,FCM 后台均可以成功推送消息

但是unipush的情况是:

APP进程杀死后,unipush后台无法成功推送FCM渠道消息。
APP进入后台时,unipush个推渠道可以推送消息,但是依然无法走FCM渠道推送消息。

appid:UNI2AA0E0C
请排查。谢谢。

2020-11-21 22:46 负责人:DCloud_Android_DQQ 分享
已邀请:
xwe_不倒翁

xwe_不倒翁

我想问这个问题解决了吗,都2022年了FCM离线推送还是不行,真的搞死人

DCloud_Android_DQQ

DCloud_Android_DQQ

收到,我确认一下

  • 1***@163.com

    我们用的fcm第一次进入app的时候获取不到clientid,但是第二次进入的时候就可以获取到,请问怎么解决??

    2020-11-28 17:13

DCloud_Android_DQQ

DCloud_Android_DQQ

你测试的手机型号是什么。

  • H5_flymorn (作者)

    你好,小米NOTE3

    2020-11-23 14:29

  • 5***@qq.com

    回复 H5_flymorn: 请问一下你是怎么获取到FCM产生的devicetoken的? uniapp是否需要按照个推安卓客户端来进行操作https://docs.getui.com/getui/mobile/android/androidstudio/ ???

    2021-08-23 15:21

DCloud_Android_DQQ

DCloud_Android_DQQ

首先,我这边用测试项目。 杀死进程后,FCM和unipush推送后台推送均正常。测试环境如下

  • zhaoyu2020

    你好 请问你用的hbx是什么版本的 我现在用的是3.7.3 不知道这个版本是否支持 FCM

    2023-03-09 14:17

DCloud_Android_DQQ

DCloud_Android_DQQ

第二。 根据你的描述信息,大部分可能出错的场景都已排除。 请确认一下你的手机设备型号。
FCM 不支持国产设备手动安装 gms

也可以留一下QQ. 在我们的测试设备是测试一下你的应用推送是否正常。

  • H5_flymorn (作者)

    通过FCM官方后台是可以正常推送消息的,手机也能收到,qq号我已经私发给你了~~

    2020-11-23 14:33

  • DCloud_Android_DQQ

    回复 H5_flymorn: 你的手机设备型号是什么?

    2020-11-23 14:41

  • H5_flymorn (作者)

    回复 DCloud_Android_DQQ: 小米 NOTE3

    2020-11-23 15:12

  • 1***@163.com

    回复 H5_flymorn: 大佬,有没有遇到过打包的googleapk第一次获取不到clientid,请问怎么解决?

    2020-11-28 17:16

  • H5_flymorn (作者)

    回复 1***@163.com: 第一次获取不到,是因为push服务还没初始化完成,请设置等待重试机制。

    2020-12-02 12:22

  • 1***@163.com

    回复 H5_flymorn: 第一次进去app怎么获取都获取不到,无论多长时间,但是我第二次进去就正常了。

    2020-12-03 11:20

  • xwe_不倒翁

    都2022年了,FCM离线还是无法送到消息,难道就不处理了吗?

    2022-04-19 17:49

H5_flymorn

H5_flymorn (作者)

HBuilderX 2.9.8,
联系了个推客服,反馈说集成的个推sdk版本是4.3.8.0的,这个版本是不支持fcm推送的!

而个推sdk 4.3.5.15 这个版本支持的。

请确认云打包机在处理google play渠道包的时候,sdk版本号是否错误了。

  • DCloud_Android_DQQ

    反馈说集成的个推sdk版本是4.3.8.0的,这个版本是不支持fcm推送的! 4.3.8.0 不是大于 4.3.5.15

    2020-11-23 14:43

  • DCloud_Android_DQQ

    云打包机在处理google play渠道包 没有问题。我这里就是云打包的。

    2020-11-23 14:44

  • H5_flymorn (作者)

    回复 DCloud_Android_DQQ: fcm支持的版本个推这边是专门单独定制的,目前是 个推sdk 4.3.5.15。 不是大于个推sdk 4.3.5.15 就支持的。

    2020-11-23 14:44

  • t***@gmail.com

    回复 DCloud_Android_DQQ: 我这边选择云打包,但是离线还是收不到

    2021-01-05 10:58

  • t***@gmail.com

    回复 H5_flymorn: 同问,我这里hbuiderx3.0.5打包的,firebase后台能发到离线推送,unipush不行。

    2021-01-15 14:03

H5_flymorn

H5_flymorn (作者)

fcm支持的版本个推这边是专门单独的,目前是 个推sdk 4.3.5.15

  • DCloud_Android_DQQ

    你找个推 确认一下 我发给你的apk 继承的 个推版本是多少

    2020-11-23 15:08

6***@qq.com

6***@qq.com

我这边也出现这个情况,fcm后台发送的可以收到。unipush发送的收不到 ,云打包

appid:UNI9E57F5F

版本:2.9.3.20201014

  • H5_flymorn (作者)

    等待hbx版本更新,下个版本会集成新版的个推sdk 4.3.9.0。目前云打包机的个推4.3.8.0有问题。

    2020-11-23 16:09

  • 6***@qq.com

    回复 H5_flymorn: 您好,请问大概什么时候可以更新?

    2020-11-23 16:42

  • H5_flymorn (作者)

    回复 6***@qq.com: 预计最迟下周。

    2020-11-23 16:54

  • 6***@qq.com

    回复 H5_flymorn: 您好,ios 用 unipush 可以发送到国外,但是用sdk发送不过去,请问是什么原因?是我后台继承的sdk的版本问题吗?

    2020-11-25 10:56

  • H5_flymorn (作者)

    回复 6***@qq.com: 你是离线打包吗

    2020-11-27 10:03

  • 6***@qq.com

    回复 H5_flymorn: 是我自己的问题,已经处理了,谢谢。请问最新版本什么时候更新?

    2020-11-30 09:43

n***@tech-trans.com

n***@tech-trans.com

請問問題解決了嗎?

我同樣是以HBuilder 2.9.8 離線打包, 在放在android studio 打包成apk.

ANDROID phone ONLY

  • 只是在app被殺了, 經FCM進行離線推送. 推送結果是: successed_offline. 但app沒有彈出消息.
  • 一旦打開app, 即立刻收到消息. (估計這是經unipush 個推的)

這一問題是近一個月發生問題嗎? 我印象中, 在開發時候, android 不論在線上/線下推送都是正常.

thx a lot

  • DCloud_Android_DQQ

    楼主的问题,怀疑是4.3.8.0包的问题。 这个问题不是最近一个月更新的。

    你测试的手机型号是什么。

    2020-12-17 12:25

  • n***@tech-trans.com

    回复 DCloud_Android_DQQ: 紅米Note4X & Nokia8.1 應該不關手機型號問題,

    2020-12-17 15:22

1***@qq.com

1***@qq.com

也有同样问题,接收不了离线推送

云打包GOOGLE渠道包
手机位置香港,型号SAMSUNG NOTE8。
已经安装GMS,且手机网络可以连通谷歌FCM推送服务器(使用FCM平台推送 结果成功)
在UniPush后台一直测试都失败

会在下个更新中解决吗?

  • n***@tech-trans.com

    請問, 你在FCM平台推送, 即使app是離線(app被kill都可以收到嗎?), FCM有這樣測試功能?

    2020-12-18 12:10

  • 1***@qq.com

    回复 n***@tech-trans.com: 我是在firebase后台的Cloud Messaging,直接建立推送通知的。app離線都可以收到

    2020-12-18 12:35

  • 4***@qq.com

    回复 1***@qq.com: 想问下这个是需要获取手机的FCM注册令牌吧,这个怎么获取呢?

    2023-12-21 17:48

t***@gmail.com

t***@gmail.com

请问,unipush 本地安卓打包使用 android studio ,fcm 推送离线App的时候收不到,如何解决

小糊涂酒仙

小糊涂酒仙

uniPush2.0 勾选离线推送,然后勾选 Google FCM推送SDK,打包时选择 google(AAB) 方式进行云打包返回报错日志如下:
HBuilder X 版本 3.18.12

Appid:----------
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"extension-level\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>

FAILURE: Build failed with an exception.

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

    Missing project_info object

  • 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:145)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:143)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    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.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
    Caused by: org.gradle.api.GradleException: Missing project_info object
    at com.google.gms.googleservices.GoogleServicesTask.handleProjectNumberAndProjectId(GoogleServicesTask.java:193)
    at com.google.gms.googleservices.GoogleServicesTask.action(GoogleServicesTask.java:144)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
    at org.gradle.api.internal.tasks.execution.TaskExecution$2.run(TaskExecution.java:239)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:224)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:207)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:190)
    at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:168)
    at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
    at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
    at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:188)
    at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
    at org.gradle.internal.Either$Right.fold(Either.java:175)
    at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:38)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:27)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:109)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:93)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:93)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
    at org.gradle.api.internal.tasks.execution.TaskExecution$3.withWorkspace(TaskExecution.java:284)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
    at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:142)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    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.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)* Get more help at https://help.gradle.org

BUILD FAILED in 23s
gradle build error: 1

  • 小糊涂酒仙

    希望官网能够解答一下问题所在

    2023-09-11 11:46

4***@qq.com

4***@qq.com

先问下,如何在FCM后台测试推送,我看到需要FCM令牌,这个如何获取呢?

  • xwe_不倒翁

    dcloud开发者后台 > uni-push > 消息推送 > 配置管理 > 故障排查,输入你获取到的cid查询,里面的Device Token就是令牌了,如果无Device Token说明手机没获取到令牌。

    2024-02-19 14:29

要回复问题请先登录注册