Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24726

Enable proxy support for android SDK commands

      As a corporate android development environment may be fenced behind a proxy, I as a developer would like to see Android Emulator picking up any configured proxy (e.g. from the plugin configuration of Jenkins) to update and/or install android-sdk.

          [JENKINS-24726] Enable proxy support for android SDK commands

          +1.
          Android Emulator will honor an androidtool.cfg in the user's home directory.
          As a hack, I copy it into the user directory before "Install Android project prerequisites" runs

          <target name="android.prereqinit" depends="init">
          <copy
          file="${ant.libs.dir}/android/androidtool.cfg"
          todir="${user.home}/.android/"
          overwrite="true" />
          </target>

          Kris Van de steeg added a comment - +1. Android Emulator will honor an androidtool.cfg in the user's home directory. As a hack, I copy it into the user directory before "Install Android project prerequisites" runs <target name="android.prereqinit" depends="init"> <copy file="${ant.libs.dir}/android/androidtool.cfg" todir="${user.home}/.android/" overwrite="true" /> </target>

            Unassigned Unassigned
            idstein Paul Idstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: