title: Environment Variables (URL) in Android Studio
body: <p>Is there a way to set the URL somewhere in Android Stadio so that you don't always have to change the code.</p>
  <pre><code>buildTypes {
      debug {
          buildConfigField &quot;String&quot;, 'BASE_URL', &quot;\&quot;http://192.x.x.x:x\&quot;&quot;
          debuggable true
      }
      staging {
          buildConfigField &quot;String&quot;, 'BASE_URL', &quot;\&quot;https://testing.x.x\&quot;&quot;
          signingConfig signingConfigs.debug
          debuggable true
      }
  </code></pre>
  <p>Specifically, it is the URL for local testing that is currently specified in the gradle file.</p>