There was a similar error (for pull request, not share) before which suggested that a mandatory field was missing in answer.
In your case, if you are seeing, when sharing to github.com (not GHE, an on-proemise GitHub for Enterprise)

It is possible GitHub has changed their response when Creating a repository.
If you are already at the latest Android Studio version, try and enable the debug option (Help - Debug Log Settings...) for the following categories:
#org.jetbrains.plugins.github.api.GithubApiRequestExecutor
That should show you what is missing in the answer, trigger the parsing error.
As mentioned by the OP J.Correa in the comments, the workaround is to git push
one's project directly from command line to GitHub.
You can use for that the GitHub official cli/cli
project and its gh
command
cd ~/Projects/my-project
# Create a repository for the current directory.
~/Projects/my-project$ gh repo create
✓ Created repository user/my-project on GitHub
✓ Added remote https://github.com/user/my-project.git
~/Projects/my-project$