我正在尝试在 android studio 中运行“hello world”应用程序。我的连接是通过代理。当我尝试运行“hello world app”时,android studio 显示下一个错误:
Error running Prueba: Gradle project sync failed. Please fix your project and try again.
如果我在“文件/设置 -> HTTP 代理”中进行配置,然后进行代理配置,则错误如下:
Error:Could not GET 'http://jcenter.bintray.com/com/android/tools/build/gradle/0.12.2/gradle-0.12.2.pom'. Received status code 407 from server: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
<a href="toggle.offline.mode">Enable Gradle 'offline mode' and sync project</a>
我该如何修复该错误?
最佳答案
有错误提示需要代理认证。要向您的代理服务器进行身份验证,请返回文件->设置->HTTP 代理,选中代理身份验证框并在此处输入您的凭据。此外,单击检查连接按钮以测试您的连接是否成功。
关于android - 如何使用与android studio的代理连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26916951/