【问题标题】:unable to remove proxy settings in vcs android studio无法删除 vcs android studio 中的代理设置
【发布时间】:2020-03-21 12:57:55
【问题描述】:

我目前正在使用我的移动互联网将我的 android studio 项目推送到 github,同时我无法连接到 10.20.3.11。我以前在 android studio 中使用它来连接到 Internet。 我在设置中将该代理设置为 noProxy,并在 gradle.properties(global properties) 中删除了代理设置,还多次重新启动了 androidstudio。但是当我添加新的依赖项时,gradle 正确同步并添加了该依赖项。推送项目时仍然面临代理问题 帮帮我,我正在使用 ubuntu 18.04

【问题讨论】:

    标签: android android-studio gradle github http-proxy


    【解决方案1】:

    可能您的 git 设置正在查看已设置的代理。您可以使用以下命令检查您的 git 配置了哪些代理设置;

    git config --global --get http.proxy
    

    您可以使用;清除 git 代理配置;

    git config --global --unset http.proxy
    

    更多信息请参考this link

    【讨论】:

    • 谢谢,我之前做过,但没有任何改变。我才知道这个错误只在 ubuntu 平台的 Android studio 3 中出现
    猜你喜欢
    • 2018-09-08
    • 2015-04-04
    • 1970-01-01
    • 2016-01-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-16
    相关资源
    最近更新 更多