Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 644
iericrogers Avatar asked Oct 18 '25 17:10

iericrogers


1 Answers

Enable -> Use credential helper

Android Studio Settings

like image 142
Kyriakos Georgiopoulos Avatar answered Oct 20 '25 08:10

Kyriakos Georgiopoulos