Git - Android Studio no longer lets me commit changes and push to GitHub

I have the same problem. Try uncheck "Perform code analysis" in commit changes dialog. it worked for me.


As suggested by LaYer Sutachad, I attempted to Commit and Push with "Perform code analysis" unchecked in the Commit dialog. This, however, finally gave me a bunch of actual error messages in the form of:

Commit failed with error: pathspec 'f/Workspaces/AndroidStudio/ProjectName/app/src/main/java/com/ project/Utilities/PixelConverter.java' did not match any file(s) known to git.

After only a few Google Searches I found an answer to this problem provided by RacZo here. Which basically prompts to backup the problematic packages/files and re add them through Android Studio, adding them to Git in the process.

Thanks to LaYer Sutachad for pointing me in the right direction!