使用一键登录hsp包,编译报错

使用一键登录hsp包,编译报错,详情是:

> hvigor ERROR: Failed :entry:default@PreBuild... 
> hvigor ERROR: The package ctaccount useNormalizedOHMUrl is not equal to current product. 
> hvigor ERROR: BUILD FAILED in 438 ms 
HarmonyOS
2024-11-20 11:19:02
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
superinsect

在工程级的build-profile.json5下配置。

"products": [ 
{ 
  "name": "default", 
"signingConfig": "default", 
"compatibleSdkVersion": "5.0.0(12)", 
"runtimeOS": "HarmonyOS", 
"buildOption": { 
  "strictMode": { 
    "useNormalizedOHMUrl": true 
  } 
} 
} 
],
分享
微博
QQ
微信
回复
2024-11-20 14:20:40
相关问题
HarmonyOS 一键登录功能
427浏览 • 1回复 待解决
HarmonyOS 华为账号一键登录
303浏览 • 1回复 待解决
HarmonyOS如何实现一键登录功能?
396浏览 • 0回复 待解决
HarmonyOS 手机号一键登录功能
54浏览 • 1回复 待解决
HarmonyOS 集成华为一键登录 服务端demo
303浏览 • 2回复 待解决
HarmonyOS bm一键安装文档
258浏览 • 1回复 待解决
HarmonyOS 如何一键置灰
226浏览 • 1回复 待解决