iericrogers
iericrogers

Reputation: 41

Android Studio unable to Git Push -- I can through terminal

I am no longer able to push to github via Android Studio. Everytime I try I now get this error message:

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'

Not sure what caused the issue, just started happening one morning (although it was after updating Android Studio to Bumblebee).

I can use the terminal to push just fine, but would really like to get this issue fixed as it's just an easier workflow.

Upvotes: 4

Views: 1510

Answers (1)

Kyriakos Georgiopoulos
Kyriakos Georgiopoulos

Reputation: 567

Enable -> Use credential helper

Android Studio Settings

Upvotes: 7

Related Questions