我想为我的 IDE(WebStorm 和 Android Studio)设置 HTTP 代理,但失败了,因为 JVM 有一些代理设置。
我已经考虑过,也许有些人使用 JVM 的应用程序更改了它的 jvm 代理设置,例如 Charles?是否可以这样做?
您将 JVM 属性“https.proxyHost”设置为 127.0.0.1”。这可能会导致不正确的行为,应在设置中设置代理
change some IDE proxy but it still broken
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.)
如何使用解决它
最佳答案
删除代理值的一种方法如下:
Help -> Edit Custom VM Options
-DhttpsProxyHost
-DhttpsPorxyPort
使用这些值再次重新启动 Intellij 后,菜单 下会出现警告。 HTTP 代理 应该被删除。
关于intellij-idea - WebStorm && Android Studio 设置代理失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41518860/