鸿蒙开发之BundleName in the project configuration does not match that in the SigningConfigs
·
问题
修改包名后Bundle name已变成修改后的包名,但Signing Configs中的包名未修改成功,运行时报如下错误:ERROR: BundleName in the project configuration does not match that in the SigningConfigs.
解决方案
在修改完AppScope下的app.json5中的bundleName之后,使用真机调试的时候需要先把和AppScope同级别目录中的build-profile.json5中的:signingConfigs 字段改为 “signingConfigs”: [], 重新生成signingConfigs
更多推荐

所有评论(0)