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
相关问题
DevEco中如何更改已有项目的模板?
375浏览 • 0回复 待解决
HarmonyOS 怎么获取项目的versionName?
822浏览 • 1回复 待解决
HarmonyOS 更改包名,报错
978浏览 • 1回复 待解决
如何获取HarmonyOS 项目的SHA1?
6282浏览 • 1回复 待解决
HarmonyOS 项目的防抖和截流怎么实现
1020浏览 • 1回复 待解决
项目报错,moduleName is not unique
677浏览 • 1回复 待解决
HarmonyOS 启动rn项目报错
1078浏览 • 1回复 待解决
PolarDB更改为管控模式登录DMS异常
3584浏览 • 1回复 待解决
HarmonyOS RN空工程项目报错
1091浏览 • 1回复 待解决