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

Cannot (un)install APKs with spaces in the filename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Android Emulator plugin 1.14
      Jenkins 1.400

      The "Install Android package" task doesn't take kindly to filenames with spaces in them:

      Filename: My App-debug.apk

      [android] Installing APK file 'My App-debug.apk'
      [1.6] $ /android-sdk/platform-tools/adb -s emulator-46162 install -r My App-debug.apk
      can't find 'App-debug.apk' to install

      Filename: My\ App-debug.apk

      [android] Could not find APK file '/home/hudson/workspace/.../1.6/My\ App-debug.apk' to be installed

      Filename: "My App-debug.apk"

      [android] Could not find APK file '/home/hudson/workspace/.../1.6/"My App-debug.apk"' to be installed

      This should work without having to quote or escape anything.

            orrc Christopher Orr
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: