随便一个空的uniapp项目, 勾选unipush模块,不用勾选Google的FCM模块,选择安卓的自定义基座打包
- 发布:2024-12-26 16:53
- 更新:2024-12-26 16:53
- 阅读:32
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 14.5
HBuilderX类型: 正式
HBuilderX版本号: 4.36
手机系统: Android
手机系统版本号: Android 15
手机厂商: 华为
手机机型: meta60
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
自定义基座打包成功
自定义基座打包成功
实际结果:
报错: https://app.liuyingyong.cn/build/errorLog/dd1f8f50-c35c-11ef-be6b-3f12c0e85246
报错: https://app.liuyingyong.cn/build/errorLog/dd1f8f50-c35c-11ef-be6b-3f12c0e85246
bug描述:
随便一个空的uniapp项目, 勾选unipush模块,不用勾选Google的FCM模块,选择安卓的自定义基座打包,报错:
错误连接: https://app.liuyingyong.cn/build/errorLog/dd1f8f50-c35c-11ef-be6b-3f12c0e85246
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.
Get more help at https://help.gradle.org.
0 个回复