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

Cannot (un)install APKs with spaces in the filename

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Android Emulator plugin 1.14
      Jenkins 1.400
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: