使用上述配置打包
- 发布:2025-01-14 19:09
- 更新:2025-01-14 19:09
- 阅读:15
产品分类: 其他/5+ SDK
操作步骤:
预期结果:
编译正常
编译正常
实际结果:
编译报错
编译报错
bug描述:
HbuilderX 4.36中 uts插件中配置
{
"minSdkVersion": "21",
"project": {
"plugins": [
"com.google.gms.google-services"
],
"dependencies": [
"com.google.gms:google-services:4.3.10"
],
"repositories": [
"maven { url 'https://maven.google.com' }"
]
},
"dependencies": [
"com.google.firebase:firebase-messaging:23.1.0"
]
}
增加了firebase的依赖和gradle插件就编译报错
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:mapReleaseSourceSetPaths'.Error while evaluating property 'extraGeneratedResDir' of task ':app:mapReleaseSourceSetPaths'.
Failed to calculate the value of task ':app:mapReleaseSourceSetPaths' property 'extraGeneratedResDir'.
Querying the mapped value of provider(java.util.Set) before task ':app:processReleaseGoogleServices' has completed is not supported
错误日志链接
https://app.liuyingyong.cn/build/errorLog/d6aa6710-d266-11ef-adb9-499613c0f5a5
0 个回复