Developer

Configuring Proxy Settings

If you are running in a corporate environment with a proxy, you may need to change the proxy settings depending on your environment.

Creating Environment Variables

Create the following environment variables:
no_proxy=<localhost>
http_proxy=http://<PROXY_ADDRESS[:port]>
https_proxy=http://<PROXY_ADDRESS[:port]>
where <PROXY_ADDRESS[:port]> is the proxy server address (and optionally, port).

Configuring Proxy Settings in Android Studio

  1. Click Android Studio in the top right and then on Preferences.
  2. Under IDE Settings click HTTP Proxy.
  3. Select Auto-detect proxy settings.
  4. Check Automatic proxy configuration URL and enter http://proxy:8083.

Configuring Proxy Settings in Gradle

  1. Create a .gradle directory in your home directory.
  2. Open/Create the file gradle.properties in this directory.
  3. Add the following settings:
    systemProp.http.proxyHost=proxy
    systemProp.http.proxyPort=8080
    systemProp.http.nonProxyHosts=*.sap.corp|localhost
    systemProp.https.proxyHost=proxy
    systemProp.https.proxyPort=8080
    systemProp.https.nonProxyHosts=*.sap.corp|localhost