简体   繁体   中英

Android Studio Bumblebee not working with gpg

I have gpg configured and working in my system, but after updating to Android Studio Bumblebee 2021.1.1, every time I try to commit something it shows an error:

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

From terminal I'm able to commit (with gpg working), even with Android Studio's terminal. I installed Android Studio Arctic Fox on a separated folder and it's still working with gpg.

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

This should be related to this issue: https://issuetracker.google.com/issues/216364005 where Android Studio can't source the environment variables.

Opening AS through command line should solve it until there is a new version available: open /Applications/Android\ Studio.app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM