如文档所述,我在 local_config.json 文件中设置了配置文件,但是当我在“工具”页面中输入配置文件并尝试运行/打包应用程序时,我在控制台中收到以下错误:
Expected to find object at profile; found release
我的 local_config.json 文件设置如下:
"android": {
"profiles": {
"DEFAULT": {
"keystore": "/path/to/debug-key.store",
"keypass": "xxx",
"keyalias": "yyy",
"storepass": "zzz"
},
"release": {
"keystore": "/path/to/prod-key.store",
"keypass": "aaa",
"keyalias": "bbb",
"storepass": "ccc"
}
},
"sdk": "/Developers/android-sdk-macosx/"
},
...
有没有人设法让这个功能正常工作?