WebStorm && Android Studio设置代理失败

Joh*_*ump 3 proxy intellij-idea

我想为我的IDE(WebStorm和Android Studio)设置HTTP代理,但是失败了,因为JVM有一些代理设置。.我发现了其他IDE(如eclipse)proxySetting如下:更改一些IDE代理,但它仍然坏了

我考虑过也许有人使用JVM的Application更改了它的jvm代理设置,例如Charles?是否可以这样做?

您的JVM属性“ https.proxyHost”设置为127.0.0.1”。这可能导致错误的行为,应在“设置”中设置“代理”

首选项>外观和行为>系统设置> HTTP代理

2017-01-07 14:57:30,010 [ 445277]   INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "https.proxyHost" set to "127.0.0.1".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.) 
Run Code Online (Sandbox Code Playgroud)

如何使用解决它

Cha*_*kra 5

删除代理值的一种方法如下:

  • 转到Intellij菜单-> Help -> Edit Custom VM Options
  • 包括以下两个属性,这些属性将取消设置已经设置的代理值 -DhttpsProxyHost -DhttpsPorxyPort

使用这些值再次重新启动Intellij后,应删除菜单HTTP Proxy下的警告。