Reputation: 111
I'm still new in Android development. I want to share my project on GitHub but it is not working. Below is the image error it is throwing. Please i need help.
Upvotes: 6
Views: 20334
Reputation: 15
1 -> Press ctrl+alt+s
2 -> Version control
3 -> GitHub
4 -> Add your account by clicking on the "+" button
5 -> Generate a Token and paste it into the token field in Android Studio.
Upvotes: 0
Reputation: 1
A pop up will occur
Click on the account, then remove it by using the minus symbol on top of your account.
This worked for me perfectly.
Upvotes: 0
Reputation: 1123
In android studio Go to Preferences->Version control->GitHub
Remove account having error with(-)
else click + and Add account with token->Generate token on website-> copy and paste it in studio-> Add account
Done
Upvotes: 1
Reputation: 111
I got the same issue while working on a project on Android Studio. The solution for this problem which work for me is -
Upvotes: 11