Code is not compiling from android studio

Hi All,

I have some external maven repos ,where dependency libraries will be downloaded . I able to access same lib files from browser , But when i try it from Android Studio , it is giving below error code :-

CONNECT refused by proxy: HTTP/1.1 502 Tunnel Connection Failed.

I have configured the proxy values as well in ANDROID studio like hostname ,port ,but still same error is coming .

it would be better if you help me to resolve this problem .