HarmonyOS 更改项目的bundlename后报错

ERROR: BundleName in the project configuration does not match that in the SigningConfigs.

Detail: Open the project-level build-profile.json5 file. Change the bundleName value

to that in the SigningConfigs. Otherwise, go to the app.json5 file and change the bundleName value there.

BundleName in Project: com.xxxx.xxxx, BundleName in SigningConfigs: com.xxxx.xxxx.

at /Users/test_mac_ios/mybus-harmony/build-profile.json5

HarmonyOS
2024-08-23 11:25:05
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
superinsect

在修改完AppScope下的app.json5中的bundleName之后,使用真机调试的时候需要先把和AppScope同级别目录中的build-profile.json5中的:signingConfigs字段改为 “signingConfigs”: [], 重新生成signingConfigs

分享
微博
QQ
微信
回复
2024-08-23 20:50:38
相关问题
如何获取HarmonyOS 项目的SHA1?
4826浏览 • 1回复 待解决
PolarDB更改为管控模式登录DMS异常
2750浏览 • 1回复 待解决
HarmonyOS 集成RN 5.0.0.100 运行报错
99浏览 • 1回复 待解决
HarmonyOS拍照调用openSync方法报错
100浏览 • 1回复 待解决
项目启动报错该怎么处理啊?
40浏览 • 1回复 待解决
HarmonyOS 图片能否更改其颜色
64浏览 • 1回复 待解决
如何获取当前HAP的BundleName
196浏览 • 1回复 待解决
如何获取应用自身的bundleName
2035浏览 • 1回复 待解决
怎样获取app自身bundleName
243浏览 • 1回复 待解决
鸿蒙应用开发实战创作目的
7255浏览 • 1回复 待解决
HarmonyOS项目结构中修改项目包名
232浏览 • 1回复 待解决
如何获取当前HAP的BundleName
2018浏览 • 1回复 待解决