Android Studio Bumblebee 无法使用 gpg

Android Studio Bumblebee not working with gpg

我已配置 gpg 并在我的系统中运行,但在更新到 Android Studio Bumblebee 2021.1.1 后,每次我尝试提交某些内容时都会显示错误:

Commit failed with error
0 file committed, 1 file failed to commit: Change api to 30
cannot run gpg: No such file or directory
gpg failed to sign the data
failed to write commit object

即使使用 Android Studio 的终端,我也可以从终端提交(使用 gpg 工作)。我在一个单独的文件夹中安装了 Android Studio Arctic Fox,它仍在使用 gpg。

macOS Big Sur 11.6.1
MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports)

这应该与以下问题有关:https://issuetracker.google.com/issues/216364005 其中 Android Studio 无法获取环境变量。

通过命令行打开 AS 应该可以解决问题,直到有可用的新版本:open /Applications/Android\ Studio.app