type
status
date
slug
summary
tags
category
icon
password
这里写文章的前言:
写课设时需要调用邮箱登录功能,在AGC控制台创建项目时包名和我原本的项目包名不一致,记录一下修改过程
首先进入AppScope/app.json5,修改
"bundleName"
为你需要修改的包名为"touch.touch.fish"
(举例),但光这样我发现还是不行,于是我在build-profile.json5文件下再次进行修改:但还是会报错
> hvigor 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
随后我打开项目结构发现这里这个包名改不了

于是我点击default左上角那个加号新建了一个签名,

随后再回到build-profile.json5,将signingConfig改成刚刚新建那个配置就修改成功了。