Intellij Android Studio 打开localhost页面登录github [英] Intellij Android Studio opens localhost page to login on github

查看:26
本文介绍了Intellij Android Studio 打开localhost页面登录github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 android studio 4.2 beta 3 版,当我使用 GUI 推送/获取工作室时,我已经设置了一个帐户,提示登录 github.

I am using android studio version 4.2 beta 3 and while I am using the GUI to push/fetch the studio prompts to login on github while I have already set an account.

奇怪的是,我可以在终端上使用 git,但不能在 GUI 上使用.

The strange this is that I can use git on terminal but not on GUI.

我选择第一个选项,我的浏览器将我导航到一个网站,上面写着要在 Github 中授权,我按下按钮,登录 Github,然后我得到以下需要一些未知凭据的 localhost 页面.

I select the first option and my browser navigates me to a website that says to authorize in Github, I press the button, login on Github and then I get the following localhost page which needs some unknown credentials.

您对如何解决此问题有任何想法吗?

Do you have any ideas on how to fix this issue?

谢谢

推荐答案

这实际上是一个 Android Studio 错误.见例如this 报告

This actually turns out to be an Android Studio bug. See e.g. this and this reports

在相应的 IntelliJ IDEA 版本中它工作正常.

In the corresponding IntelliJ IDEA version it is working fine.

改用令牌登录,作为一种解决方法.

Log in using a token instead, as a workaround.

这篇关于Intellij Android Studio 打开localhost页面登录github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆