w***@163.com
w***@163.com
  • 发布:2024-08-29 14:45
  • 更新:2024-12-26 17:50
  • 阅读:177

制作自定义调试基座遇到的问题

分类:uni-app

制作自定义调试基座,选择云端证书打Android包,总是报错,提示缺少google-services.json文件,请问怎么解决?

FAILURE: Build failed with an exception.

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

    File google-services.json is missing. The Google Services Plugin cannot function without it.
    Searched Location:
    [PackagePath]/app/src/release/google-services.json
    [PackagePath]/app/src/google-services.json
    [PackagePath]/app/src/Release/google-services.json
    [PackagePath]/app/google-services.json* Try:
    Run with --debug option to get more log output.
    Run with --scan to get full insights.

2024-08-29 14:45 负责人:无 分享
已邀请:
qxcl

qxcl

有人解答吗?

s***@baozun.com

s***@baozun.com

我也遇到了,我用的HBuildX四4.36, 打安卓自定义包的时候报这个错误。原因是勾选了unipush, 但是并没有勾选Google的FCM模块,这个错误说是缺失google-services.json,但是没有勾选也报这个错误就奇怪了。

要回复问题请先登录注册