Android Studio 无法 Git Push——我可以通过终端

ier*_*ers 4 android android-studio

我无法再通过 Android Studio 推送到 github。每次我尝试时都会收到此错误消息:

The operation couldn't be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. error: failed to push some refs to 'github.com:xxxxxxxxxx'

不确定是什么原因导致了这个问题,直到一天早上才开始发生(尽管是在将 Android Studio 更新到 Bumblebee 之后)。

我可以使用终端来推送,但真的很想解决这个问题,因为这只是一个更简单的工作流程。

小智 7

启用 -> 使用凭证助手

Android Studio 设置